Separate Client Portal & Dashboard
This commit is contained in:
8
frontend/dashboard/src/hooks/useSettings.ts
Normal file
8
frontend/dashboard/src/hooks/useSettings.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import { useContext } from 'react';
|
||||
import { SettingsContext } from '../contexts/SettingsContext';
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
const useSettings = () => useContext(SettingsContext);
|
||||
|
||||
export default useSettings;
|
||||
Reference in New Issue
Block a user