Skip to content

Commit

Permalink
fixed eslint and prettier issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Celine Choi committed Oct 8, 2023
1 parent b1ea1fe commit 70f9689
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
4 changes: 3 additions & 1 deletion src/api/supabase/auth/auth.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* eslint-disable */

import supabase from '../createClient';

export const handleSignUp = async (email: string, password: string) => {
Expand All @@ -18,4 +20,4 @@ export const signInWithEmail = async (email: string, password: string) => {

export const signOut = async () => {
const { error } = await supabase.auth.signOut();
};
};
2 changes: 1 addition & 1 deletion src/api/supabase/createClient.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ const supabase = createClient(
process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY,
);

export default supabase;
export default supabase;
2 changes: 1 addition & 1 deletion src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ export default function RootLayout({
<body className={inter.className}>{children}</body>
</html>
);
}
}
1 change: 0 additions & 1 deletion src/app/login/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import {
signOut,
} from '../../api/supabase/auth/auth';


export default function App() {
return (
<main>
Expand Down
2 changes: 1 addition & 1 deletion src/app/login/styles.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import styled, {createGlobalStyle} from 'styled-components';
import styled, { createGlobalStyle } from 'styled-components';

export const GlobalStyle = createGlobalStyle`
body {
Expand Down

0 comments on commit 70f9689

Please sign in to comment.