improve weather widget error state
This commit is contained in:
1 parent
89d0478443
commit
5711b22b4e
2 files changed
+18
-19
No files matched your search
@@ -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>;
|
||||
}
|
||||
Reference in new issue
Block a user