Fix navigation after adding a set
This commit is contained in:
parent
d2cad451fe
commit
dd609a20e5
|
@ -74,7 +74,7 @@ export default function EditSet() {
|
||||||
) {
|
) {
|
||||||
toast("Great work King! That's a new record.");
|
toast("Great work King! That's a new record.");
|
||||||
}
|
}
|
||||||
navigate("Sets", { added: value.id });
|
navigate("Sets", { reset: value.id });
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleSubmit = async () => {
|
const handleSubmit = async () => {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user