Merge pull request #7 from MarciiTheDev/dev

fixed production build
This commit was merged in pull request #7.
This commit is contained in:
MarcTheDev authored and GitHub committed 2023-07-26 15:44:06 +02:00
commit 756f3f4769
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() {
useEffect(() => {
window.location.href = "docs/intro";
});
return (
<script>
{
window.location.href = "./docs/intro"
}
</script>
);
}