Add a polyfil for dynamic viewport heights on older devices

This commit is contained in:
Timothy Armes
2023-07-25 11:36:55 +02:00
parent 8d67365119
commit 467c71e10b
3 changed files with 52 additions and 4 deletions
+3
View File
@@ -2,6 +2,9 @@
import { Provider } from "jotai";
import { useDynamicViewportUnits } from "@/hooks/useDynamicViewportUnits";
export default function Providers({ children }: { children: React.ReactNode }) {
useDynamicViewportUnits();
return <Provider>{children}</Provider>;
}