mirror of https://github.com/garritfra/garrit.xyz
Garrit Franke
4 months ago
3 changed files with 14 additions and 11 deletions
@ -0,0 +1,10 @@
|
||||
import { useEffect, useState } from "react"; |
||||
|
||||
export default () => { |
||||
const [SSR, setSSR] = useState(true); |
||||
useEffect(() => { |
||||
setSSR(false); |
||||
}); |
||||
|
||||
return SSR; |
||||
}; |
Loading…
Reference in new issue