Merge pull request #7 from MarciiTheDev/dev

fixed production build
This commit is contained in:
Marcel Lorbeer 2023-07-26 15:44:06 +02:00 committed by GitHub
commit 756f3f4769
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,12 +1,14 @@
import React from 'react'; import React, { useEffect } from 'react';
export default function Home() { export default function Home() {
useEffect(() => {
window.location.href = "docs/intro";
});
return ( return (
<script> <script>
{
window.location.href = "./docs/intro"
}
</script> </script>
); );
} }