diff --git a/src/components/Settings/Settings.tsx b/src/components/Settings/Settings.tsx index ff20994b..bc02cdca 100644 --- a/src/components/Settings/Settings.tsx +++ b/src/components/Settings/Settings.tsx @@ -305,9 +305,15 @@ Settings.Item = function SettingsItem({ {renderTitleComponent(title)} -
- {renderRightAdornment?.({title})} -
+ {renderRightAdornment && ( +
+ {renderRightAdornment({title})} +
+ )} {description ? {description} : null}