fix(TypeError): Fix TypeErrors in Navbar and Index

This commit is contained in:
Jack Merrill 2021-03-31 00:32:53 -05:00
parent 33d7608eef
commit d035adcfe9
2 changed files with 2 additions and 3 deletions

View File

@ -1,6 +1,5 @@
import Link from "next/link";
import { Dispatch, SetStateAction, useEffect, useState } from "react";
import Logo from './Images/Logo';
import { useEffect, useState } from "react";
const Navbar = ({ links }: {
links: {

View File

@ -1,7 +1,7 @@
import Link from 'next/link'
import Navbar from '../components/Navbar'
function GetTimeString(): string {
function GetTimeString() {
const hours = new Date().getHours()
if (hours < 12) {