mirror of
https://github.com/lukevella/rallly.git
synced 2025-07-05 10:37:30 +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);
|
|
};
|