Skip to content

Commit

Permalink
[B] Fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Blake Mason committed Oct 31, 2023
1 parent e6538e6 commit d43c6bc
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 11 deletions.
8 changes: 1 addition & 7 deletions components/auth/buttons/GoogleSSO/Button.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use client";

import { GoogleLogin, useGoogleLogin } from "@react-oauth/google";
import { useGoogleLogin } from "@react-oauth/google";
import { Button } from "@rubin-epo/epo-react-lib";
import { useTranslation } from "react-i18next";
import { useAuthDialogManager } from "@/components/auth/AuthDialogManagerContext";
Expand Down Expand Up @@ -54,12 +54,6 @@ export default function SSOButton({
>
{t("sign_in.continue_with_google")}
</Button>
// <GoogleLogin
// onSuccess={handleSuccess}
// onError={handleError}
// theme="outline"
// size="large"
// />
);
}

Expand Down
2 changes: 1 addition & 1 deletion components/auth/dialogs/ForgotPassword/ForgotPassword.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"use client";

import { useState } from "react";
import { BasicModal, Button, Input } from "@rubin-epo/epo-react-lib";
import { BasicModal, Input } from "@rubin-epo/epo-react-lib";
import { useAuthDialogManager } from "@/components/auth/AuthDialogManagerContext";
import { useTranslation } from "react-i18next";
import { forgotPassword } from "./actions";
Expand Down
3 changes: 1 addition & 2 deletions components/auth/dialogs/SignUp/SignUp.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
"use client";

import { useState } from "react";
import { BasicModal, Button, Input } from "@rubin-epo/epo-react-lib";
import { BasicModal, Input } from "@rubin-epo/epo-react-lib";
import { useAuthDialogManager } from "@/components/auth/AuthDialogManagerContext";
import Submit from "@/components/form/Submit";
import { registerEducator, registerStudent } from "./actions";
import { useTranslation } from "react-i18next";
import * as Styled from "./styles";
Expand Down
1 change: 0 additions & 1 deletion contexts/Progress.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ const getDisabledByPage = (
questionsByPage,
answeredByPage
) => {
const currentIndex = currentPageNumber - 1;
const disabledByPage = [];

for (let pageIndex = 0; pageIndex < totalPages; pageIndex++) {
Expand Down

0 comments on commit d43c6bc

Please sign in to comment.