We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15f5f21 commit 50ea068Copy full SHA for 50ea068
src/components/Content/index.jsx
@@ -1,4 +1,4 @@
1
-import { Construction, Pickaxe } from "lucide-react";
+import { Pickaxe } from "lucide-react";
2
import "./style.css";
3
4
export function Content({ content, loading }) {
src/utils/api.js
@@ -62,6 +62,10 @@ export const useApi = () => {
62
const decoded = decodeURIComponent(escape(atob(topicData.content)));
63
const content = unified().use(remarkParse).parse(decoded);
64
65
+ await new Promise((resolve) => {
66
+ setTimeout(resolve, 1000);
67
+ });
68
+
69
successCallback?.(content);
70
return content;
71
}, []);
0 commit comments