🐛 Fix still will render to root in garfish

This commit is contained in:
LittleSheep 2024-02-19 17:03:40 +08:00
parent b18cfd6741
commit 7e1d8fc91a

View File

@ -44,4 +44,7 @@ export const provider = () => ({
}
});
render(router, root!);
// @ts-ignore
if (!window.__GARFISH__) {
render(router, root!);
}