3 Commits

View File

@@ -2,7 +2,7 @@ import React, { useState } from "react";
import { myToast } from "../utils/toastify";
const getInitialTheme = () => localStorage.getItem("theme") || "light";
const getInitialUnit = () => localStorage.getItem("unit") || "celsius";
const getInitialUnit = () => localStorage.getItem("unit") || "metric";
interface Props {
onClose: () => void;