mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-13 08:13:49 +10:00
chore(artboard): remove sample resume loaded on artboard for testing
This commit is contained in:
@ -1,4 +1,3 @@
|
|||||||
import { sampleResume } from "@reactive-resume/schema";
|
|
||||||
import { useEffect } from "react";
|
import { useEffect } from "react";
|
||||||
import { Outlet } from "react-router-dom";
|
import { Outlet } from "react-router-dom";
|
||||||
|
|
||||||
@ -31,9 +30,9 @@ export const Providers = () => {
|
|||||||
}, [setResume]);
|
}, [setResume]);
|
||||||
|
|
||||||
// Only for testing, in production this will be fetched from window.postMessage
|
// Only for testing, in production this will be fetched from window.postMessage
|
||||||
useEffect(() => {
|
// useEffect(() => {
|
||||||
setResume(sampleResume);
|
// setResume(sampleResume);
|
||||||
}, [setResume]);
|
// }, [setResume]);
|
||||||
|
|
||||||
if (!resume) return null;
|
if (!resume) return null;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user