Skip to content

Commit

Permalink
Update settings-modal.js
Browse files Browse the repository at this point in the history
Signed-off-by: Sajid Alam <[email protected]>
  • Loading branch information
SajidAlamQB committed Jul 23, 2024
1 parent 0efaee1 commit 03b4a50
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/settings-modal/settings-modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@ const SettingsModal = ({

const handleSavePreferences = useCallback(async () => {
try {
const result = await updatePreferences(showDatasetPreviewsValue);
console.log('Preferences updated successfully:', result);
await updatePreferences(showDatasetPreviewsValue);
} catch (error) {
console.error('Error updating preferences:', error);
}
Expand Down

0 comments on commit 03b4a50

Please sign in to comment.