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";
|
||||
import { useEffect } from "react";
|
||||
import Floaty from "../Floaty/Floaty";
|
||||
|
||||
export default function AccessibilityBox() {
|
||||
if (window.localStorage.getItem("a11y"))
|
||||
document.body.parentElement?.classList.add("a11y");
|
||||
useEffect(() => {
|
||||
if (window.localStorage.getItem("a11y"))
|
||||
document.body.parentElement?.classList.add("a11y");
|
||||
}, []);
|
||||
return (
|
||||
<Floaty top>
|
||||
<input
|
||||
|
|
Loading…
Reference in a new issue