0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-27 05:02:43 +00:00

no idea what changed but now it works

This commit is contained in:
Víctor Losada Hernández
2025-07-18 00:39:36 +02:00
parent f04d6cdd1f
commit d6a5a1f03c

View File

@@ -1,7 +1,7 @@
/* eslint-disable camelcase */
import 'core-js/es/string/to-well-formed.js'; //Polyfill for older browsers
import './homebrew.less';
import { useState, useEffect } from 'react';
import React, { useState, useEffect } from 'react';
import { StaticRouter as Router, Route, Routes, useParams, useSearchParams } from 'react-router';
import HomePage from './pages/homePage/homePage.jsx';
@@ -43,7 +43,7 @@ const Homebrew = (props)=>{
const [isClient, setIsClient] = useState(false);
useEffect(() => {
useEffect(()=>{
setIsClient(true);
}, []);