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