Files
CHOMPStation2/tgui/packages/tgui-panel/game/hooks.ts
CHOMPStation2 eebf92d66f [MIRROR] TGUI 5.0 Patch 1 (#7701)
Co-authored-by: Selis <sirlionfur@hotmail.de>
2024-02-08 15:31:06 +01:00

14 lines
225 B
TypeScript

/**
* @file
* @copyright 2020 Aleksej Komarov
* @license MIT
*/
import { useSelector } from 'tgui/backend';
import { selectGame } from './selectors';
export const useGame = () => {
return useSelector(selectGame);
};