Skip to content

Commit

Permalink
fix: make button component valid after merge
Browse files Browse the repository at this point in the history
  • Loading branch information
phoenixpereira committed Feb 24, 2024
1 parent 834a787 commit 3041225
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
3 changes: 1 addition & 2 deletions src/app/(account)/signin/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,7 @@ export default function SignInPage() {
size="small"
>
<FcGoogle className="mr-2 inline-block text-xl" /> Continue with Google
Forgot password?
</Link>
</Button>

<div className="my-6 mt-10 flex items-center justify-center">
<div className="w-full border-t border-grey"></div>
Expand Down
4 changes: 0 additions & 4 deletions src/components/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ const Button = ({
font,
size = 'base',
}: ButtonProps) => {
font?: string;
}

const Button = ({ children, colour, href, onClick, width, type, loading, font }: ButtonProps) => {
const isAnchor = !!href;
const Component = isAnchor ? 'a' : 'button';

Expand Down

0 comments on commit 3041225

Please sign in to comment.