diff --git a/src/frame/quick-save-frame.tsx b/src/frame/quick-save-frame.tsx index 0151dddf..41e075aa 100644 --- a/src/frame/quick-save-frame.tsx +++ b/src/frame/quick-save-frame.tsx @@ -49,22 +49,18 @@ function SaveButton(props: { {props.disabled !== true &&
{props.label}
} {props.disabled === true && } - - - + + + ; } function LoadButton(props: { label: number, bgcolor: string, - textcolor: string, disabled?: boolean, }) { const account = useSelector((state: State) => state.auth.account); @@ -87,19 +83,13 @@ function LoadButton(props: { return
- - {props.disabled !== true && -
{props.label}
} + {props.disabled === true && } - - + + -
; } diff --git a/src/sidebar/diskette-icon.tsx b/src/sidebar/diskette-icon.tsx index 45f727de..36c8ccc0 100644 --- a/src/sidebar/diskette-icon.tsx +++ b/src/sidebar/diskette-icon.tsx @@ -1,14 +1,14 @@ -export function DisketteIcon() { - return <> - - + - - ; + ; } diff --git a/src/store/auth.ts b/src/store/auth.ts index 97ec291c..0bc11120 100644 --- a/src/store/auth.ts +++ b/src/store/auth.ts @@ -40,7 +40,9 @@ export const authSlice = createSlice({ login: (state, action: { payload: Account }) => { setRefreshToken(action.payload.token.refresh_token); state.account = action.payload; - state.account.premium = state.account.premium || state.account.email === "dz.caiiiycuk@gmail.com"; + state.account.premium = state.account.premium || + state.account.email === "dz.caiiiycuk@gmail.com" || + state.account.email === "caiiiycuk@gmail.com"; lStorage.setItem(cachedAccount, JSON.stringify(action.payload)); getCache(state.account.email) .then((cache) => nonSerializableStore.cache = cache)