diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..0ba8094 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,5 @@ +{ + "editor.defaultFormatter": "esbenp.prettier-vscode", + "editor.formatOnSave": true, + "editor.formatOnPaste": true +} diff --git a/components/DateAndTime.js b/components/DateAndTime.js index 5afd5bc..8c6deb9 100644 --- a/components/DateAndTime.js +++ b/components/DateAndTime.js @@ -11,4 +11,4 @@ export const DateAndTime = ({ weatherData, systemUsed }) => { )} ${getAMPM(systemUsed, weatherData.dt, weatherData.timezone)}`} ); -}; \ No newline at end of file +}; diff --git a/components/MainCard.js b/components/MainCard.js index 986cf85..cd5c976 100644 --- a/components/MainCard.js +++ b/components/MainCard.js @@ -36,4 +36,4 @@ export const MainCard = ({

); -}; \ No newline at end of file +}; diff --git a/components/MetricsBox.js b/components/MetricsBox.js index 5b7587c..a5eae33 100644 --- a/components/MetricsBox.js +++ b/components/MetricsBox.js @@ -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 }) => { /> ); -}; \ No newline at end of file +}; diff --git a/components/Search.js b/components/Search.js index 6d9b3b2..d279c81 100644 --- a/components/Search.js +++ b/components/Search.js @@ -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 ( { }; export default App; -// execute