Skip to content
Snippets Groups Projects
Commit cb260df8 authored by danieldeng2's avatar danieldeng2
Browse files

Remove unecessary js from public folder

parent dcd553ff
No related branches found
No related tags found
No related merge requests found
......@@ -41,10 +41,5 @@
To create a production bundle, use `npm run build` or `yarn build`.
-->
<script src="https://cdnjs.cloudflare.com/ajax/libs/holder/2.9.7/holder.js"></script>
<script>
function holder() {
Holder.run();
}
</script>
</body>
</html>
......@@ -8,7 +8,7 @@ import Card from "react-bootstrap/Card";
const ModulePage: React.FC = () => {
// only needed for using holder images, delete when done
// @ts-ignore
useEffect(window.holder);
useEffect(() => {window.Holder.run()});
return (
<Container className="p-4">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment