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 Link from "next/link";
|
||||||
import { Dispatch, SetStateAction, useEffect, useState } from "react";
|
import { useEffect, useState } from "react";
|
||||||
import Logo from './Images/Logo';
|
|
||||||
|
|
||||||
const Navbar = ({ links }: {
|
const Navbar = ({ links }: {
|
||||||
links: {
|
links: {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import Link from 'next/link'
|
import Link from 'next/link'
|
||||||
import Navbar from '../components/Navbar'
|
import Navbar from '../components/Navbar'
|
||||||
|
|
||||||
function GetTimeString(): string {
|
function GetTimeString() {
|
||||||
const hours = new Date().getHours()
|
const hours = new Date().getHours()
|
||||||
|
|
||||||
if (hours < 12) {
|
if (hours < 12) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user