Sort imports from all files
Add "prettier" script in `package.json` to check if all files are
compliant.
Sort all imports and format all files by running `npm run lint -- --fix`
followed by `npm run prettier -- --write`.
Gitlab #29
Change-Id: Id80402d1344c3bc611f66a46cffeee5f2c375bd8
diff --git a/client/redux/appSlice.ts b/client/redux/appSlice.ts
index 7ddb133..61e73ea 100644
--- a/client/redux/appSlice.ts
+++ b/client/redux/appSlice.ts
@@ -1,4 +1,5 @@
import { createSlice, PayloadAction } from '@reduxjs/toolkit';
+
import Account from '../../model/Account';
// Define a type for the slice state
diff --git a/client/redux/hooks.ts b/client/redux/hooks.ts
index beb95c0..3539fad 100644
--- a/client/redux/hooks.ts
+++ b/client/redux/hooks.ts
@@ -1,5 +1,6 @@
import { TypedUseSelectorHook, useDispatch, useSelector } from 'react-redux';
-import type { RootState, AppDispatch } from './store';
+
+import type { AppDispatch, RootState } from './store';
// Use throughout your app instead of plain `useDispatch` and `useSelector`
export const useAppDispatch: () => AppDispatch = useDispatch;
diff --git a/client/redux/store.ts b/client/redux/store.ts
index f6ab51d..3c67034 100644
--- a/client/redux/store.ts
+++ b/client/redux/store.ts
@@ -1,4 +1,5 @@
import { configureStore } from '@reduxjs/toolkit';
+
import appReducer from './appSlice';
export const store = configureStore({