mirror of
https://github.com/lukevella/rallly.git
synced 2025-05-10 07:26:48 +02:00
6 lines
214 B
TypeScript
6 lines
214 B
TypeScript
import { useRequiredContext } from "../use-required-context";
|
|
import { PreferencesContext } from "./preferences-provider";
|
|
|
|
export const usePreferences = () => {
|
|
return useRequiredContext(PreferencesContext);
|
|
};
|