Skip to content

Commit

Permalink
chore(artboard): remove sample resume loaded on artboard for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
AmruthPillai committed Nov 9, 2023
1 parent 92bb9f9 commit 13d9141
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions apps/artboard/src/providers/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { sampleResume } from "@reactive-resume/schema";
import { useEffect } from "react";
import { Outlet } from "react-router-dom";

Expand Down Expand Up @@ -31,9 +30,9 @@ export const Providers = () => {
}, [setResume]);

// Only for testing, in production this will be fetched from window.postMessage
useEffect(() => {
setResume(sampleResume);
}, [setResume]);
// useEffect(() => {
// setResume(sampleResume);
// }, [setResume]);

if (!resume) return null;

Expand Down

0 comments on commit 13d9141

Please sign in to comment.