mirror of
https://github.com/System-End/campfire.git
synced 2026-04-19 22:05:14 +00:00
commit
6edb75c592
1 changed files with 5 additions and 0 deletions
|
|
@ -56,6 +56,11 @@ function App() {
|
|||
const emailRef = useRef<HTMLInputElement>(null);
|
||||
|
||||
useEffect(() => {
|
||||
if (window.location.pathname === '/flagship') {
|
||||
window.location.href = 'https://flagship.campfire.hackclub.com';
|
||||
return;
|
||||
}
|
||||
|
||||
document.addEventListener("scroll", () => {
|
||||
setScrollY(window.scrollY);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue