Compare commits
3
Commits
c15d0869c6
...
f6d29a279a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f6d29a279a | ||
|
|
f4fffb73ff | ||
|
|
e22fa64e69 |
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user