ei
Size: a a a
ei
GO
13
OF
ei
LE
OF
OF
LE
LE
OF
MZ
АХ
ei
ei
MZ

ei
MZ
try {
dispatch({
type: GET_INVOICES_SUCCESSGET_INVOICES_SUCCESS,
payload: response.data
})
} catch (e) {
const history = useHistory()
if (e.request.status === 404) {
history.push("/error")
} else if (e.request.status === 500) {
history.push("/server-error")
} else {
dispatch({
type: GET_INVOICES_ERROR})
}
}ei