fix redirect path
This commit is contained in:
parent
d4f669197a
commit
2b6f7cee29
@ -73,7 +73,7 @@ const CreateTask: React.FC<CreateTaskPropTypes> = ({
|
||||
);
|
||||
clearFormHandler();
|
||||
} else {
|
||||
history.push("/login");
|
||||
history.push(process.env.PUBLIC_URL + "/login");
|
||||
}
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user