mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-18 19:59:20 +00:00
improvement: better names in pages, folders and routes
This commit is contained in:
@@ -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"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user