Skip to content

Commit 399d16f

Browse files
committed
♻️ Refactor App.tsx
1 parent 3f9fc92 commit 399d16f

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

example/src/App.tsx

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,13 @@ export default function App() {
3636
console.log(results);
3737
console.log('1111111111111111111111');
3838

39-
readRemoteFile(
40-
'https://react-papaparse.js.org/static/csv/normal.csv',
41-
{
42-
complete: (results: any) => {
43-
console.log('2222222222222222222222');
44-
console.log(results)
45-
console.log('2222222222222222222222');
46-
}
47-
}
48-
)
39+
readRemoteFile('https://react-papaparse.js.org/static/csv/normal.csv', {
40+
complete: (results: any) => {
41+
console.log('2222222222222222222222');
42+
console.log(results);
43+
console.log('2222222222222222222222');
44+
},
45+
});
4946

5047
const str = `Column 1,Column 2,Column 3,Column 4
5148
1-1,1-2,1-3,1-4
@@ -60,7 +57,7 @@ export default function App() {
6057

6158
return (
6259
<View style={styles.container}>
63-
<Text>Result</Text>
60+
<Text>Hello world!</Text>
6461
</View>
6562
);
6663
}

0 commit comments

Comments
 (0)