vercel
This commit is contained in:
parent
f5b65ac533
commit
67b7d61d02
1 changed files with 5 additions and 2 deletions
|
@ -1,9 +1,12 @@
|
||||||
"use client";
|
"use client";
|
||||||
|
import { useEffect } from "react";
|
||||||
import Floaty from "../Floaty/Floaty";
|
import Floaty from "../Floaty/Floaty";
|
||||||
|
|
||||||
export default function AccessibilityBox() {
|
export default function AccessibilityBox() {
|
||||||
if (window.localStorage.getItem("a11y"))
|
useEffect(() => {
|
||||||
document.body.parentElement?.classList.add("a11y");
|
if (window.localStorage.getItem("a11y"))
|
||||||
|
document.body.parentElement?.classList.add("a11y");
|
||||||
|
}, []);
|
||||||
return (
|
return (
|
||||||
<Floaty top>
|
<Floaty top>
|
||||||
<input
|
<input
|
||||||
|
|
Loading…
Reference in a new issue