fixed production build

This commit is contained in:
MarcTheDev committed 2023-07-26 15:43:06 +02:00
1 parent b74ee711b8
commit d4d0c5685b
1 file changed
+6 -4
+6 -4
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>
); );
} }