More typing and fixes
This commit is contained in:
@@ -2,7 +2,7 @@ import { Group, Stack, Text } from '@mantine/core';
|
||||
import { useCommonHooks } from 'hooks';
|
||||
import { useEffect, useState } from 'react';
|
||||
import { textClasses } from 'styles';
|
||||
import type { CurrentWeather as CW } from 'types';
|
||||
import type { CurrentWeather } from 'types';
|
||||
|
||||
function Header({
|
||||
greet,
|
||||
@@ -15,8 +15,8 @@ function Header({
|
||||
}: {
|
||||
greet: string;
|
||||
date: string;
|
||||
current: CW;
|
||||
setCurrent: (current: CW) => void;
|
||||
current: CurrentWeather;
|
||||
setCurrent: (current: CurrentWeather) => void;
|
||||
weather: any;
|
||||
basicWeather: any;
|
||||
openWeatherModal: () => void;
|
||||
|
||||
Reference in New Issue
Block a user