fixed production build
This commit is contained in:
parent
b74ee711b8
commit
d4d0c5685b
@ -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>
|
||||
);
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user