mirror of
https://github.com/bknd-io/bknd/
synced 2026-08-02 08:06:00 +00:00
confirmed SSR support with Remix
This commit is contained in:
@@ -6,6 +6,7 @@ import "bknd/dist/styles.css";
|
||||
export default function AdminPage() {
|
||||
const [loaded, setLoaded] = useState(false);
|
||||
useEffect(() => {
|
||||
if (typeof window === "undefined") return;
|
||||
setLoaded(true);
|
||||
}, []);
|
||||
if (!loaded) return null;
|
||||
|
||||
Reference in New Issue
Block a user