Skip to content

Commit

Permalink
Corrected Lint Errors
Browse files Browse the repository at this point in the history
  • Loading branch information
anoopkarnik committed Jun 12, 2024
1 parent 440c914 commit 85e9e51
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion apps/dashboard-app/app/auth/error/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import QuoteClient from '../../../components/QuoteClient';
import ErrorClient from '../../../components/ErrorClient';

export default function() {
export default function page() {

return (
<div className='grid grid-cols-1 lg:grid-cols-2 '>
Expand Down
2 changes: 1 addition & 1 deletion apps/dashboard-app/app/auth/forgot-password/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import ForgotPasswordClient from '../../../components/ForgotPasswordClient';
import { Suspense } from 'react';
import LoadingClient from '../../../components/LoadingClient';

export default function() {
export default function page() {

return (
<div className='grid grid-cols-1 lg:grid-cols-2 '>
Expand Down
2 changes: 1 addition & 1 deletion apps/dashboard-app/app/auth/login/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import QuoteClient from '../../../components/QuoteClient';
import { Suspense } from 'react';
import LoadingClient from '../../../components/LoadingClient';

export default function() {
export default function page() {

return (
<div className='min-h-screen grid grid-cols-1 lg:grid-cols-2 '>
Expand Down
2 changes: 1 addition & 1 deletion apps/dashboard-app/app/auth/new-verification/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import QuoteClient from '../../../components/QuoteClient';
import VerificationClient from '../../../components/VerificationClient';
import LoadingClient from '../../../components/LoadingClient';

export default function() {
export default function page() {

return (
<div className='grid grid-cols-1 lg:grid-cols-2 '>
Expand Down
2 changes: 1 addition & 1 deletion apps/dashboard-app/app/auth/register/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import RegisterClient from '../../../components/RegisterClient';
import { Suspense } from 'react';
import LoadingClient from '../../../components/LoadingClient';

export default function() {
export default function page() {

return (
<div className='grid grid-cols-1 lg:grid-cols-2 '>
Expand Down
2 changes: 1 addition & 1 deletion apps/dashboard-app/app/auth/reset-password/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import ResetPasswordClient from '../../../components/ResetPasswordClient';
import { Suspense } from 'react';
import LoadingClient from '../../../components/LoadingClient';

export default function() {
export default function page() {

return (
<div className='grid grid-cols-1 lg:grid-cols-2 '>
Expand Down
2 changes: 1 addition & 1 deletion apps/dashboard-app/app/dashboard/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NavbarClient } from "../../components/NavbarClient";
import NavbarClient from "../../components/NavbarClient";
import {auth} from '@repo/next-auth/auth'

export default async function Layout({children}:{children: React.ReactNode}){
Expand Down
2 changes: 1 addition & 1 deletion apps/dashboard-app/components/ErrorClient.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import ErrorCard from '@repo/ui/components/ErrorCard';
import { useRouter } from 'next/navigation';


export default function() {
export default function ErrorClient() {
const router = useRouter();

return (
Expand Down
2 changes: 1 addition & 1 deletion apps/dashboard-app/components/ForgotPasswordClient.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import ForgotPasswordCard from '@repo/ui/components/ForgotPasswordCard';
import { ForgotPassword } from '../ actions/forgot-password';


export default function() {
export default function ForgotPasswordClient() {
const router = useRouter();
const [error, setError] = useState<string | undefined>('')
const [success, setSuccess] = useState<string | undefined>('')
Expand Down
2 changes: 1 addition & 1 deletion apps/dashboard-app/components/LoadingClient.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import LoadingCard from '@repo/ui/components/LoadingCard';
import { useRouter } from 'next/navigation';


export default function() {
export default function LoadingClient() {
const router = useRouter();

return (
Expand Down
2 changes: 1 addition & 1 deletion apps/dashboard-app/components/LoginClient.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { login } from '../ actions/login';
import { DEFAULT_LOGIN_REDIRECT } from '../routes';


export default function() {
export default function LoginClient() {
const router = useRouter();
const searchParams = useSearchParams()
const urlError = searchParams.get('error') === "OAuthAccountNotLinked" ?
Expand Down
2 changes: 1 addition & 1 deletion apps/dashboard-app/components/NavbarClient.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { logout } from "../ actions/logout";
import { useCurrentUser } from "../hooks/useCurrentUser";
import { resetPasswordSettings } from "../ actions/reset-password-settings";

export function NavbarClient() {
export default function NavbarClient() {
const { theme, setTheme } = useTheme()
const router = useRouter();
const user = useCurrentUser();
Expand Down
2 changes: 1 addition & 1 deletion apps/dashboard-app/components/RegisterClient.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { register } from '../ actions/register';
import { signIn,useSession } from 'next-auth/react';
import { DEFAULT_LOGIN_REDIRECT } from '../routes';

export default function() {
export default function RegisterClient() {
const router = useRouter();

return (
Expand Down
2 changes: 1 addition & 1 deletion apps/dashboard-app/components/ResetPasswordClient.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { verifyResetToken } from '../ actions/verify-reset-token';
import ErrorCard from '@repo/ui/components/ErrorCard';


export default function() {
export default function ResetPasswordClient() {
const router = useRouter();
const [error, setError] = useState<string | undefined>('')
const [success, setSuccess] = useState<string | undefined>('')
Expand Down
2 changes: 1 addition & 1 deletion apps/dashboard-app/components/VerificationClient.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { useCallback, useEffect, useState } from 'react';
import { newVerification } from '../ actions/new-verification';


export default function() {
export default function VerificationClient() {
const router = useRouter();
const [error, setError] = useState<string | undefined>()
const [success, setSuccess] = useState<string | undefined>()
Expand Down

0 comments on commit 85e9e51

Please sign in to comment.