浏览代码

remove unused interface

AykutSarac 3 年之前
父节点
当前提交
bbd7cb34f4
共有 1 个文件被更改,包括 1 次插入5 次删除
  1. 1 5
      src/components/Navbar/index.tsx

+ 1 - 5
src/components/Navbar/index.tsx

@@ -2,10 +2,6 @@ import React from "react";
 import Link from "next/link";
 import styled from "styled-components";
 
-interface NavbarProps {
-  isWide?: boolean;
-}
-
 const StyledNavbar = styled.div`
   display: flex;
   justify-content: space-between;
@@ -40,7 +36,7 @@ const StyledTitleWrapper = styled.span`
   color: ${({ theme }) => theme.ORANGE};
 `;
 
-export const Navbar: React.FC<NavbarProps> = () => {
+export const Navbar: React.FC = () => {
   return (
     <StyledNavbar>
       <Link href="/">