We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae8aa2c commit f644813Copy full SHA for f644813
src/popup/context/WithMainContext.tsx
@@ -47,7 +47,8 @@ export default function WithMainContext({ children }: PropsWithChildren) {
47
if (feeNotificationState) {
48
chrome.storage.local.get(["feeNotificationBorder"]).then((result) => {
49
const { feeNotificationBorder } = result;
50
- if (feeNotificationBorder === null || feeNotificationBorder.feeBorder === null) {
+ console.log(result);
51
+ if (!feeNotificationBorder || (!feeNotificationBorder.feeBorder && feeNotificationBorder.feeBorder !== 0)) {
52
setIsAutoFeeNotificationEnabled(true);
53
setActiveSettingsTab(1);
54
toggleSettings();
0 commit comments