Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Commit

Permalink
Test Codeclimate
Browse files Browse the repository at this point in the history
  • Loading branch information
w3bdesign committed Feb 4, 2022
1 parent 7545ffa commit b82fdbc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 16 deletions.
9 changes: 1 addition & 8 deletions stories/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,7 @@ import React from "react";
import { Button } from "./Button";
import "./header.css";

interface IHeaderProps {
user?: {};
onLogin: () => void;
onLogout: () => void;
onCreateAccount: () => void;
}

export const Header = ({ user, onLogin, onLogout, onCreateAccount }: IHeaderProps) => (
export const Header = ({ user, onLogin, onLogout, onCreateAccount }: any) => (
<header>
<div className="wrapper">
<div>
Expand Down
9 changes: 1 addition & 8 deletions stories/Page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,7 @@ import React from "react";
import { Header } from "./Header";
import "./page.css";

interface IPageProps {
user?: {};
onLogin: () => void;
onLogout: () => void;
onCreateAccount: () => void;
}

export const Page = ({ user, onLogin, onLogout, onCreateAccount }: IPageProps) => (
export const Page = ({ user, onLogin, onLogout, onCreateAccount }: any) => (
<article>
<Header user={user} onLogin={onLogin} onLogout={onLogout} onCreateAccount={onCreateAccount} />

Expand Down

0 comments on commit b82fdbc

Please sign in to comment.