Skip to content

Commit

Permalink
fix: TS error
Browse files Browse the repository at this point in the history
  • Loading branch information
shreyashankar committed Jan 23, 2025
1 parent 3f00c8b commit d4bb98e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/src/components/TutorialsDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ export function TutorialsDialog({
files,
}: TutorialsDialogProps) {
const { toast } = useToast();
const { uploadDataset } = useDatasetUpload({
const { uploadLocalDataset } = useDatasetUpload({
namespace,
onFileUpload,
setCurrentFile,
Expand Down Expand Up @@ -405,7 +405,7 @@ export function TutorialsDialog({
setUploadedDatasetPath(datasetFileName);

// Upload dataset and wait for currentFile to update
await uploadDataset(datasetFile);
await uploadLocalDataset(datasetFile);
} catch (error) {
console.error("Error loading tutorial:", error);
toast({
Expand Down

0 comments on commit d4bb98e

Please sign in to comment.