log removal

This commit is contained in:
Mckay Wrigley 2023-04-11 03:17:49 -06:00
parent 25a4dbb052
commit 8f8aac05ef
1 changed files with 0 additions and 2 deletions

View File

@ -249,7 +249,6 @@ const Home = ({
// ON LOAD -------------------------------------------- // ON LOAD --------------------------------------------
useEffect(() => { useEffect(() => {
console.log('initialize', serverSideApiKeyIsSet);
const theme = localStorage.getItem('theme'); const theme = localStorage.getItem('theme');
if (theme) { if (theme) {
dispatch({ field: 'lightMode', value: theme as 'dark' | 'light' }); dispatch({ field: 'lightMode', value: theme as 'dark' | 'light' });
@ -258,7 +257,6 @@ const Home = ({
const apiKey = localStorage.getItem('apiKey'); const apiKey = localStorage.getItem('apiKey');
if (serverSideApiKeyIsSet) { if (serverSideApiKeyIsSet) {
console.log('trigger key', apiKey);
dispatch({ field: 'apiKey', value: '' }); dispatch({ field: 'apiKey', value: '' });
localStorage.removeItem('apiKey'); localStorage.removeItem('apiKey');