Merge pull request #7 from MarciiTheDev/dev
fixed production build
This commit was merged in pull request #7.
This commit is contained in:
1 file changed
+6
-4
@@ -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>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user