Skip to content

Commit

Permalink
remove getSrcDoc function
Browse files Browse the repository at this point in the history
  • Loading branch information
Naresh-Khatri committed Jun 14, 2024
1 parent 2e4120c commit 9c631cb
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,3 @@ export default async function AttemptPage({ params }) {
</Flex>
);
}
export const getSrcDoc = ({ css, html, head, js }: any) => {
return `
<html><style>${css}</style><body>${html}<script>${js}</script></body></html>`;
};

0 comments on commit 9c631cb

Please sign in to comment.