rename comp
This commit is contained in:
@@ -5,7 +5,9 @@ import ContentBox from "../components/ContentBox";
|
||||
import Header from "../components/Header";
|
||||
import DateAndTime from "../components/DateAndTime";
|
||||
import Search from "../components/Search";
|
||||
import Metrics from "../components/Metrics";
|
||||
|
||||
import MetricsBox from "../components/MetricsBox";
|
||||
import MetricsCard from "../components/MetricsCard";
|
||||
import UnitSwitch from "../components/UnitSwitch";
|
||||
import LoadingScreen from "../components/LoadingScreen";
|
||||
import ErrorScreen from "../components/ErrorScreen";
|
||||
@@ -71,7 +73,7 @@ const App = () => {
|
||||
}}
|
||||
/>
|
||||
</Header>
|
||||
<Metrics data={weatherData} systemUsed={systemUsed} />
|
||||
<MetricsBox data={weatherData} systemUsed={systemUsed} />
|
||||
<UnitSwitch onClick={changeSystem} systemUsed={systemUsed} />
|
||||
</ContentBox>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user