Skip to content

Commit

Permalink
??
Browse files Browse the repository at this point in the history
  • Loading branch information
luludotdev committed Feb 14, 2024
1 parent 6f04035 commit a8db676
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/react/hooks/entities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,10 @@ import { useCallback, useEffect } from 'https://esm.sh/v136/[email protected]'
import { useForceUpdate } from './useForceUpdate.ts'
import { useGame } from './useGame.ts'

export type RegisteredSpawnables = Game<boolean>['registered']

/**
* List all registered spawnable entity functions
*/
export const useRegisteredSpawnables = (): RegisteredSpawnables => {
export const useRegisteredSpawnables = (): Game<boolean>['registered'] => {
const game = useGame()
const forceUpdate = useForceUpdate()

Expand Down

0 comments on commit a8db676

Please sign in to comment.