chore: rename types to remove word "Type"

This commit is contained in:
2024-08-17 19:30:09 +02:00
parent 7b88633fba
commit 74cb0d45af
19 changed files with 112 additions and 122 deletions

View File

@@ -1,6 +1,6 @@
import React from 'react'
import { useDispatch, useSelector } from 'react-redux'
import { AppRootStateType } from 'app/store'
import { AppRootState } from 'app/store'
import { setAppError } from 'app/app-reducer'
import { AlertProps, Snackbar } from '@mui/material'
import MuiAlert from '@mui/material/Alert'
@@ -19,7 +19,7 @@ const Alert = React.forwardRef<HTMLDivElement, AlertProps>(
)
export function ErrorSnackbar() {
const error = useSelector<AppRootStateType, string | null>(
const error = useSelector<AppRootState, string | null>(
(state) => state.app.error
)
const dispatch = useDispatch()