Completed template

This commit is contained in:
adilallo committed 2026-03-02 22:12:50 -07:00
1 parent d811b87b12
commit 3e3d2881f5
103 files changed
+1410 -622

No files matched your search

+1 -3
View File
@@ -17,9 +17,7 @@ vi.mock("next/dynamic", () => {
function DynamicWrapper(props) {
const [Component, setComponent] = React.useState(null);
React.useEffect(() => {
importFn().then((mod) =>
setComponent(() => mod.default || mod),
);
importFn().then((mod) => setComponent(() => mod.default || mod));
}, []);
if (!Component) {
return options?.loading ? options.loading() : null;