Skip to content

Commit

Permalink
bug/WG-449-Success-toast-with-error-msg (#336)
Browse files Browse the repository at this point in the history
  • Loading branch information
sophia-massie authored Feb 28, 2025
1 parent 5c334e5 commit 3b52c30
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion react/src/components/AssetDetail/AssetButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const AssetButton: React.FC<AssetButtonProps> = ({
},
onError: (error) => {
setIsModalOpen(false);
notification.success({
notification.error({
description: `There was an error importing your asset for feature ${selectedFeature.id}. Error: ${error}`,
});
},
Expand Down
1 change: 0 additions & 1 deletion react/src/utils/fileUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ export const IMPORTABLE_FEATURE_TYPES = [
export const IMPORTABLE_FEATURE_ASSET_TYPES = [
'jpeg',
'jpg',
'png',
'mp4',
'mov',
'mpeg4',
Expand Down

0 comments on commit 3b52c30

Please sign in to comment.