Skip to content

Commit fa8da0b

Browse files
committed
Update Unparse description
1 parent 81448e4 commit fa8da0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/src/components/screens/indexes/Unparse.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export default function JsonToCSV() {
2323
const { jsonToCSV } = usePapaParse();
2424
2525
const handleJsonToCSV = () => {
26-
const jsonData = '[
26+
const jsonData = [
2727
{
2828
"Column 1": "1-1",
2929
"Column 2": "1-2",
@@ -48,7 +48,7 @@ export default function JsonToCSV() {
4848
"Column 3": 6,
4949
"Column 4": 7
5050
}
51-
]';
51+
];
5252
const results = jsonToCSV(jsonData);
5353
console.log('---------------------------');
5454
console.log('Results:', results);

0 commit comments

Comments
 (0)