linting and cleanup

This commit is contained in:
Ben Phelps committed 2022-09-07 16:53:24 +03:00
1 parent 7f041e8303
commit f74e8b9d32
51 files changed
+464 -349

No files matched your search

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