improvement: better names in pages, folders and routes

This commit is contained in:
canove
2020-09-03 18:31:12 -03:00
parent 514f1c3b75
commit c032ec309a
12 changed files with 22 additions and 17 deletions

View File

@@ -51,7 +51,7 @@ const useAuth = () => {
api.defaults.headers.Authorization = `Bearer ${res.data.token}`;
setIsAuth(true);
toast.success(i18n.t("auth.toasts.success"));
history.push("/chat");
history.push("/tickets");
} catch (err) {
toast.error(i18n.t("auth.toasts.fail"));
}