0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-03-30 14:08:11 +00:00

Copy exisitng key data to new keys

This commit is contained in:
G.Ambatte
2025-09-09 22:04:40 +12:00
parent 13de195a66
commit 1eb5b6d3a4
3 changed files with 45 additions and 0 deletions

View File

@@ -4,6 +4,8 @@ import './homebrew.less';
import React from 'react';
import { StaticRouter as Router, Route, Routes, useParams, useSearchParams } from 'react-router';
import { updateLocalStorage } from './utils/updateLocalStorage/updateLocalStorageKeys.js';
import HomePage from './pages/homePage/homePage.jsx';
import EditPage from './pages/editPage/editPage.jsx';
import UserPage from './pages/userPage/userPage.jsx';
@@ -48,6 +50,8 @@ const Homebrew = (props)=>{
global.enable_themes = enable_themes;
global.config = config;
updateLocalStorage();
return (
<Router location={url}>
<div className='homebrew'>