fixing errors

This commit is contained in:
Sriram Hariharan
2023-09-17 14:55:33 -05:00
parent 4ae2966e98
commit e199a0b766
13 changed files with 26 additions and 51 deletions

View File

@@ -1,7 +1,7 @@
import './hotReload';
import React, { useEffect } from 'react';
import { render } from 'react-dom';
import { devStore } from 'src/shared/storage/DevStore';
import { DevStore } from 'src/shared/storage/DevStore';
const manifest = chrome.runtime.getManifest();
@@ -69,7 +69,7 @@ function DevDashboard() {
useEffect(() => {
const onVisibilityChange = () => {
devStore.set('wasDebugTabVisible', document.visibilityState === 'visible');
DevStore.set('wasDebugTabVisible', document.visibilityState === 'visible');
};
document.addEventListener('visibilitychange', onVisibilityChange);
return () => {