diff --git a/src/frontend/src/App.tsx b/src/frontend/src/App.tsx
index 25b21020c..1949b38dc 100644
--- a/src/frontend/src/App.tsx
+++ b/src/frontend/src/App.tsx
@@ -14,7 +14,7 @@ import { alertContext } from "./contexts/alertContext";
import { AuthContext } from "./contexts/authContext";
import { locationContext } from "./contexts/locationContext";
import { TabsContext } from "./contexts/tabsContext";
-import { autoLogin, getLoggedUser, onLogin } from "./controllers/API";
+import { autoLogin, getLoggedUser } from "./controllers/API";
import Router from "./routes";
export default function App() {
@@ -37,7 +37,7 @@ export default function App() {
successData,
successOpen,
setSuccessOpen,
- setErrorData
+ setErrorData,
} = useContext(alertContext);
const navigate = useNavigate();
@@ -131,7 +131,8 @@ export default function App() {
};
//this function is to get the user logged in when the page is refreshed
- const { setUserData, getAuthentication, login, setAutoLogin } = useContext(AuthContext);
+ const { setUserData, getAuthentication, login, setAutoLogin } =
+ useContext(AuthContext);
useEffect(() => {
setTimeout(() => {
@@ -154,7 +155,6 @@ export default function App() {
}, 500);
}, []);
-
return (
//need parent component with width and height
diff --git a/src/frontend/src/components/PaginatorComponent/index.tsx b/src/frontend/src/components/PaginatorComponent/index.tsx
index 0bb40fa60..0e9242f15 100644
--- a/src/frontend/src/components/PaginatorComponent/index.tsx
+++ b/src/frontend/src/components/PaginatorComponent/index.tsx
@@ -19,7 +19,9 @@ export default function PaginatorComponent({
}: PaginatorComponentType) {
const [size, setPageSize] = useState(pageSize);
const [index, setPageIndex] = useState(pageIndex);
- const [maxIndex, setMaxPageIndex] = useState(Math.ceil(totalRowsCount/pageSize));
+ const [maxIndex, setMaxPageIndex] = useState(
+ Math.ceil(totalRowsCount / pageSize)
+ );
const [currentPage, setCurrentPage] = useState(1);
return (
@@ -32,7 +34,7 @@ export default function PaginatorComponent({
- Sign up
+ {
+ handleSignup();
+ }}
+ >
+ Sign up
+
diff --git a/src/frontend/src/types/contexts/auth.ts b/src/frontend/src/types/contexts/auth.ts
index 393870370..f557db33e 100644
--- a/src/frontend/src/types/contexts/auth.ts
+++ b/src/frontend/src/types/contexts/auth.ts
@@ -14,5 +14,5 @@ export type AuthContextType = {
getAuthentication: () => boolean;
authenticationErrorCount: number;
autoLogin: boolean;
- setAutoLogin: (autoLogin: boolean) => void
+ setAutoLogin: (autoLogin: boolean) => void;
};
diff --git a/src/frontend/src/utils/styleUtils.ts b/src/frontend/src/utils/styleUtils.ts
index 0f82635f6..5b7e682a7 100644
--- a/src/frontend/src/utils/styleUtils.ts
+++ b/src/frontend/src/utils/styleUtils.ts
@@ -35,6 +35,7 @@ import {
HelpCircle,
Home,
Info,
+ Key,
Laptop2,
Layers,
Lightbulb,
@@ -72,7 +73,6 @@ import {
X,
XCircle,
Zap,
- Key
} from "lucide-react";
import { FaApple, FaGithub } from "react-icons/fa";
import { AirbyteIcon } from "../icons/Airbyte";