format code

This commit is contained in:
madarsbiss
2021-09-23 13:23:19 +03:00
parent 3cc4bd3f54
commit 0ab4897e6e
6 changed files with 25 additions and 15 deletions

View File

@@ -11,4 +11,4 @@ export const DateAndTime = ({ weatherData, systemUsed }) => {
)} ${getAMPM(systemUsed, weatherData.dt, weatherData.timezone)}`}
</h2>
);
};
};

View File

@@ -36,4 +36,4 @@ export const MainCard = ({
</p>
</div>
);
};
};

View File

@@ -5,7 +5,7 @@ import {
getVisibility,
getWindSpeed,
} from "../services/utils";
import {MetricsCard} from "./MetricsCard";
import { MetricsCard } from "./MetricsCard";
import styles from "./MetricsBox.module.css";
export const MetricsBox = ({ weatherData, systemUsed }) => {
@@ -60,4 +60,4 @@ export const MetricsBox = ({ weatherData, systemUsed }) => {
/>
</div>
);
};
};

View File

@@ -1,6 +1,12 @@
import styles from "./Search.module.css";
export const Search = ({ placeHolder, value, onFocus, onChange, onKeyDown }) => {
export const Search = ({
placeHolder,
value,
onFocus,
onChange,
onKeyDown,
}) => {
return (
<input
className={styles.search}