Skip to content
This repository has been archived by the owner on Jan 23, 2025. It is now read-only.

Commit

Permalink
Small updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
leerob committed Feb 12, 2024
1 parent 80193d7 commit 133c266
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 13 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2021 Vercel, Inc.
Copyright (c) 2024 Vercel, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

Expand Down
2 changes: 0 additions & 2 deletions app/account/page.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use server';

import CustomerPortalForm from '@/components/ui/AccountForms/CustomerPortalForm';
import EmailForm from '@/components/ui/AccountForms/EmailForm';
import NameForm from '@/components/ui/AccountForms/NameForm';
Expand Down
4 changes: 0 additions & 4 deletions app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use server';

import { Metadata } from 'next';
import Footer from '@/components/ui/Footer';
import Navbar from '@/components/ui/Navbar';
Expand Down Expand Up @@ -49,8 +47,6 @@ export async function generateMetadata(): Promise<Metadata> {
}

export default async function RootLayout({
// Layouts must accept a children prop.
// This will be populated with nested layouts or pages
children
}: PropsWithChildren) {
return (
Expand Down
2 changes: 0 additions & 2 deletions app/signin/[id]/page.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use server';

import Logo from '@/components/icons/Logo';
import { createClient } from '@/utils/supabase/server';
import { cookies } from 'next/headers';
Expand Down
5 changes: 3 additions & 2 deletions components/ui/AuthForms/OauthSignIn.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@ import { useState } from 'react';

type OAuthProviders = {
name: Provider;
displayName: string;
icon: JSX.Element;
};

export default function OauthSignIn() {
const oAuthProviders: OAuthProviders[] = [
{ name: 'github', icon: <Github className="h-5 w-5" /> }
{ name: 'github', displayName: 'GitHub', icon: <Github className="h-5 w-5" /> }
/* Add desired OAuth providers here */
];
const [isSubmitting, setIsSubmitting] = useState(false);
Expand All @@ -40,7 +41,7 @@ export default function OauthSignIn() {
loading={isSubmitting}
>
<span className="mr-2">{provider.icon}</span>
<span className="capitalize">{provider.name}</span>
<span>{provider.displayName}</span>
</Button>
</form>
))}
Expand Down
2 changes: 0 additions & 2 deletions components/ui/Navbar/Navbar.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
'use server';

import { createClient } from '@/utils/supabase/server';
import s from './Navbar.module.css';
import Navlinks from './Navlinks';
Expand Down

0 comments on commit 133c266

Please sign in to comment.