fixed production build

This commit is contained in:
Marcel Lorbeer 2023-07-26 15:43:06 +02:00
parent b74ee711b8
commit d4d0c5685b

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>
);
}
}