Skip to content

Commit 9660b6f

Browse files
committed
spell fixed
1 parent 37fab54 commit 9660b6f

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

api/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import axios from 'axios';
22

3-
const API_1 = 'https://covid19.mathdro.id/api';
3+
// const API_1 = 'https://covid19.mathdro.id/api';
44
const API_2 = 'https://disease.sh/v2';
55
export const globalData = async () => {
66
const {

components/Charts/LastInfo.js renamed to components/Cards/LastInfo.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const LastInfo = ({data}) => {
1414
<View>
1515
<Row>
1616
<Block style={styles.block} color="#FFCA28" />
17-
<AppText style={styles.title}>Today Cases</AppText>
17+
<AppText style={styles.title}>New Cases</AppText>
1818
</Row>
1919
<AppText style={styles.num}>
2020
{data?.todayCases >= 0 ? (
@@ -29,7 +29,7 @@ const LastInfo = ({data}) => {
2929
<View>
3030
<Row>
3131
<Block style={styles.block} color="#f33" />
32-
<AppText style={styles.title}>Today Deaths</AppText>
32+
<AppText style={styles.title}>New Deaths</AppText>
3333
</Row>
3434
<AppText style={styles.num}>
3535
{data?.todayDeaths >= 0 ? (
@@ -53,15 +53,15 @@ const styles = StyleSheet.create({
5353
fontFamily: 'Ubuntu-Medium',
5454
},
5555
container: {
56-
marginTop: 20,
56+
// marginTop: 20,
5757
justifyContent: 'space-between',
5858
alignItems: 'center',
5959
flexGrow: 1,
6060
flexWrap: 'wrap',
6161
// borderWidth: 3,
6262
borderColor: '#eee',
6363
borderRadius: 5,
64-
padding: 20,
64+
paddingVertical: 20,
6565
},
6666
card: {
6767
marginVertical: 10,

components/CountryData/CountryItems.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const CountryItems = ({
2323
const totalDataColor = ['#003cbf', '#1DD1A1', '#f36', '#003'];
2424
const newUpdatesColor = ['#FFCA28', '#f36'];
2525
const totalDataTitle = ['Confirmed', 'Recovered', 'Deaths', 'Critical'];
26-
const newUpdatesTitle = ['Today Cases', 'New Deaths'];
26+
const newUpdatesTitle = ['New Cases', 'New Deaths'];
2727

2828
const countryInformation = (
2929
<Row style={styles.countryInfo}>

components/CovidReports/Reports.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import moment from 'moment';
77
import Cards from '../Cards/Cards';
88
import Chart from '../Charts/Chart';
99
import Percentage from './Percentage';
10-
import LastInfo from '../Charts/LastInfo';
10+
import LastInfo from '../Cards/LastInfo';
1111

1212
const Reports = ({data}) => {
1313
const lastUpdate = data?.updated && (

components/Developer/Developer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const Developer = () => {
2929
<View style={styles.heroInfo}>
3030
<AppText style={styles.name}>Hasib Molla</AppText>
3131
<AppText style={styles.position}>
32-
Android & Web App Developer
32+
Android & Web Apps Developer
3333
</AppText>
3434
<Row style={styles.locContainer}>
3535
<Icon name="location-pin" color="#aaa" size={25} />

0 commit comments

Comments
 (0)