diff --git a/remix/app/Providers/ThingtimeProvider.tsx b/remix/app/Providers/ThingtimeProvider.tsx index 6f7d506..f7d1f97 100644 --- a/remix/app/Providers/ThingtimeProvider.tsx +++ b/remix/app/Providers/ThingtimeProvider.tsx @@ -400,6 +400,7 @@ export const ThingtimeProvider = (props: any): JSX.Element => { React.useEffect(() => { try { window.setThingtime = setThingtime + window.getThingtime = getThingtime window.thingtime = thingtimeReference window.tt = thingtimeReference } catch { @@ -563,7 +564,7 @@ export const ThingtimeProvider = (props: any): JSX.Element => { return () => { window.removeEventListener("keydown", keyListener) } - }, [setThingtime, thingtimeReference, set]) + }, [setThingtime, getThingtime, thingtimeReference, set]) const value = { thingtime: thingtimeReference,