Skip to content

Commit 0153812

Browse files
committed
[UGN-353] Fix default story
1 parent 469cf18 commit 0153812

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

src/stories/Default.stories.tsx

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,7 @@ export const Basic = () => {
2222
<Link href="./exampleFile.csv" border="2px solid #718096" p="8px" borderRadius="8px" download="exampleCSV">
2323
Download example file
2424
</Link>
25-
<ReactSpreadsheetImport
26-
{...mockRsiValues}
27-
isOpen={isOpen}
28-
onClose={onClose}
29-
onSubmit={setData}
30-
uploadStepHook={async () => {
31-
throw new Error("Hello")
32-
return undefined as any
33-
}}
34-
/>
25+
<ReactSpreadsheetImport {...mockRsiValues} isOpen={isOpen} onClose={onClose} onSubmit={setData} />
3526
{!!data && (
3627
<Box pt={64} display="flex" gap="8px" flexDirection="column">
3728
<b>Returned data (showing first 100 rows):</b>

0 commit comments

Comments
 (0)