Skip to content

Commit

Permalink
add default case for unknown param types
Browse files Browse the repository at this point in the history
  • Loading branch information
ncdiehl committed Apr 4, 2024
1 parent 82549b8 commit d9b157f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/src/molecules/ParametersTable/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,9 @@ export function ParametersTable({
return minMax
case 'bool':
return t != null ? t('on_off') : 'On, off'
default:
return ''
}
return ''
}

return (
Expand Down

0 comments on commit d9b157f

Please sign in to comment.