Format all files with no breaking changes
Lint all files using `npm run lint -- --fix`.
Format all files using `prettier --write "**/*.{ts,tsx,js,jsx,json}"`
No breaking change, only code style is modified.
Gitlab: #29
Change-Id: I4f034a7fb4d3eea10bcd3e38b44a65a1046de62f
diff --git a/client/redux/appSlice.ts b/client/redux/appSlice.ts
index 60b0521..7ddb133 100644
--- a/client/redux/appSlice.ts
+++ b/client/redux/appSlice.ts
@@ -1,6 +1,5 @@
-import { createSlice, PayloadAction } from "@reduxjs/toolkit";
-import Account from "../../model/Account";
-import type { RootState } from "./store";
+import { createSlice, PayloadAction } from '@reduxjs/toolkit';
+import Account from '../../model/Account';
// Define a type for the slice state
interface appState {
@@ -11,13 +10,13 @@
// Define the initial state using that type
const initialState: appState = {
- accountId: "",
+ accountId: '',
accountObject: null,
refresh: true,
};
export const appSlice = createSlice({
- name: "app",
+ name: 'app',
// `createSlice` will infer the state type from the `initialState` argument
initialState,
reducers: {