diff --git a/src/components/Editor.js b/src/components/Editor.js index 9d5866e..df12dd6 100644 --- a/src/components/Editor.js +++ b/src/components/Editor.js @@ -115,17 +115,20 @@ class Editor extends React.Component { className="outline-none focus:outline-none items-center text-lg text-gray-700" /> +
- {this.state.icon.label === 'custom' ? -
- this.setState({ 'customIcon': URL.createObjectURL(e.target.files[0]) })} - /> -
- : -
- } + {this.state.icon.label === 'custom' ? +
+ this.setState({ 'customIcon': URL.createObjectURL(e.target.files[0]) })} + /> +
+ : +
+ } + +
diff --git a/src/components/Header.js b/src/components/Header.js index 42aa204..4843278 100644 --- a/src/components/Header.js +++ b/src/components/Header.js @@ -16,7 +16,7 @@ const Header = () => {
{/* How to use */} - ⭐ Star on Github + ⭐ Star on Github Share on Twitter