Skip to content

Commit b8a830b

Browse files
committed
debug ssg
1 parent fb4ad0b commit b8a830b

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/app.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { AppWindowIcon, CodeIcon } from "lucide-react";
2-
import { useState } from "react";
2+
import { useEffect, useState } from "react";
33
import { useTranslation } from "react-i18next";
44
import { FileExplorer } from "@/components/features/file-explorer";
55
import { Hero } from "@/components/global/hero";
@@ -60,6 +60,10 @@ const App: React.FC = () => {
6060
return result;
6161
});
6262

63+
useEffect(() => {
64+
console.log(parseTemplate());
65+
}, []);
66+
6367
return (
6468
<LangProvider>
6569
<IndexProvider path={data.path} files={data.files}>

0 commit comments

Comments
 (0)