fix(TypeError): Fix TypeErrors in Navbar and Index
This commit is contained in:
parent
33d7608eef
commit
d035adcfe9
|
@ -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: {
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user