mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-14 03:32:00 +00:00
Converts some of tgui-panel to typescript Co-authored-by: Jeremiah <42397676+jlsnow301@users.noreply.github.com> Co-authored-by: Giz <13398309+vinylspiders@users.noreply.github.com>
13 lines
224 B
TypeScript
13 lines
224 B
TypeScript
/**
|
|
* @file
|
|
* @copyright 2020 Aleksej Komarov
|
|
* @license MIT
|
|
*/
|
|
|
|
import { useSelector } from 'tgui/backend';
|
|
import { selectGame } from './selectors';
|
|
|
|
export const useGame = () => {
|
|
return useSelector(selectGame);
|
|
};
|