Skip to content

Commit

Permalink
features upload: updates toast message according to upload method
Browse files Browse the repository at this point in the history
  • Loading branch information
andresgnlez committed Apr 24, 2024
1 parent d595602 commit 46d2194
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,8 @@ export const FeatureUploadModal = ({
<>
<h2 className="font-medium">Upload in progress</h2>
<p className="text-sm">
CSV file uploaded correctly. Starting features processing. This might take several
minutes.
{uploadMode === 'csv' ? 'CSV file' : 'Shapefile'} uploaded correctly. Starting
features processing. This might take several minutes.
</p>
</>,
{
Expand All @@ -197,7 +197,7 @@ export const FeatureUploadModal = ({
setSuccessFile(null);

addToast(
'error-upload-feature-csv',
'error-upload-feature-file',
<>
<h2 className="font-medium">Error</h2>
<ul className="text-sm">
Expand Down

0 comments on commit 46d2194

Please sign in to comment.