mirror of
https://github.com/sct/overseerr.git
synced 2025-12-27 00:34:56 +01:00
12 lines
325 B
TypeScript
12 lines
325 B
TypeScript
import type { SettingsContextProps } from '@app/context/SettingsContext';
|
|
import { SettingsContext } from '@app/context/SettingsContext';
|
|
import { useContext } from 'react';
|
|
|
|
const useSettings = (): SettingsContextProps => {
|
|
const settings = useContext(SettingsContext);
|
|
|
|
return settings;
|
|
};
|
|
|
|
export default useSettings;
|