improve weather widget error state

This commit is contained in:
Ben Phelps
2022-08-25 11:13:31 +03:00
parent 89d0478443
commit 5711b22b4e
2 changed files with 18 additions and 19 deletions

View File

@@ -3,7 +3,5 @@ import mapIcon from "utils/condition-map";
export default function Icon({ condition, timeOfDay }) {
const Icon = mapIcon(condition, timeOfDay);
return (
<Icon className="mt-2 w-10 h-10 text-theme-800 dark:text-theme-200"></Icon>
);
return <Icon className="w-10 h-10 text-theme-800 dark:text-theme-200"></Icon>;
}