separate user from token

This commit is contained in:
Alex Holliday committed 2026-01-16 19:12:21 +00:00
1 parent 8747c38f40
commit af82dec2ad
6 files changed
+19 -28

No files matched your search

+1 -1
View File
@@ -176,7 +176,7 @@ const Register = ({ superAdminExists }) => {
delete toSubmit.confirm;
const action = await dispatch(register(toSubmit));
const action = await dispatch(register({ user: toSubmit, token }));
if (action.payload.success) {
navigate("/uptime");
createToast({
@@ -143,7 +143,6 @@ const UptimeMonitors = () => {
type: ["http", "ping", "docker", "port", "game"],
});
console.log(monitors);
useEffect(() => {
if (isSearching) {
setPage(undefined);