[Glitch] Upgrade to Prettier 3

Port 73b64b8917 to glitch-soc
This commit is contained in:
Claire
2023-07-13 13:58:47 +02:00
parent 95a1fde6b6
commit 0870c7c95e
18 changed files with 55 additions and 39 deletions

View File

@ -30,7 +30,7 @@ export const store = configureStore({
.concat(
loadingBarMiddleware({
promiseTypeSuffixes: ['REQUEST', 'SUCCESS', 'FAIL'],
})
}),
)
.concat(errorsMiddleware)
.concat(soundsMiddleware()),

View File

@ -14,7 +14,7 @@ const defaultTypeSuffixes: Config['promiseTypeSuffixes'] = [
];
export const loadingBarMiddleware = (
config: Config = {}
config: Config = {},
): Middleware<Record<string, never>, RootState> => {
const promiseTypeSuffixes = config.promiseTypeSuffixes || defaultTypeSuffixes;