mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 02:09:41 +00:00
Co-authored-by: Heroman3003 <31296024+Heroman3003@users.noreply.github.com> Co-authored-by: Selis <selis@xynolabs.com>
13 lines
240 B
JavaScript
13 lines
240 B
JavaScript
/**
|
|
* @file
|
|
* @copyright 2020 Aleksej Komarov
|
|
* @license MIT
|
|
*/
|
|
|
|
import { useSelector } from 'common/redux';
|
|
import { selectGame } from './selectors';
|
|
|
|
export const useGame = (context) => {
|
|
return useSelector(context, selectGame);
|
|
};
|