fix redirect path

This commit is contained in:
tomasz.kasprowicz 2021-01-16 14:25:58 +01:00
parent d4f669197a
commit 2b6f7cee29

View File

@ -73,7 +73,7 @@ const CreateTask: React.FC<CreateTaskPropTypes> = ({
);
clearFormHandler();
} else {
history.push("/login");
history.push(process.env.PUBLIC_URL + "/login");
}
}
};