Skip to content

TagSpaces is an offline, open source, document manager with tagging support

fixing typecheck error

Ilian Sapundshiev61d7dc3e9c85
diff --git a/app/components/settings/SettingsGeneral.js b/app/components/settings/SettingsGeneral.js
index e5c41a046..5d0971a80 100644
--- a/app/components/settings/SettingsGeneral.js
+++ b/app/components/settings/SettingsGeneral.js
@@ -208,7 +208,7 @@ class SettingsGeneral extends React.Component<Props, State> {
backgroundColor: this.props.settings.tagBackgroundColor
}}
onClick={this.toggleDefaultTagBackgroundColorPicker}
- />
+ >&nbsp;</Button>
</TransparentBackground>
<ColorPickerDialog
open={this.state.displayColorPicker}
@@ -228,7 +228,7 @@ class SettingsGeneral extends React.Component<Props, State> {
size="small"
style={{ backgroundColor: this.props.settings.tagTextColor }}
onClick={this.toggleDefaultTagTextColorPicker}
- />
+ >&nbsp;</Button>
</TransparentBackground>
<ColorPickerDialog
open={this.state.displayTextColorPicker}