fix redirect location state

This commit is contained in:
nflnkr 2023-12-21 12:34:56 +03:00
parent 25bdf1ba87
commit ec53992a13

@ -66,7 +66,7 @@ export default function Component() {
{/*</Box>*/}
<Button
component={Link}
to={userId ? "/list" : "/signin"}
to={"/signin"}
state={{ backgroundLocation: location }}
variant="outlined"
sx={{