improve weather widget error state

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

No files matched your search

+1 -3
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>;
}