fix: use ?? in className use (#1829)
This commit is contained in:
parent
6dca551164
commit
1b0efc5548
1 changed files with 1 additions and 1 deletions
|
|
@ -388,7 +388,7 @@ const MemoEditor = (props: Props) => {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div
|
<div
|
||||||
className={`${className} memo-editor-container ${state.fullscreen ? "fullscreen" : ""}`}
|
className={`${className ?? ""} memo-editor-container ${state.fullscreen ? "fullscreen" : ""}`}
|
||||||
tabIndex={0}
|
tabIndex={0}
|
||||||
onKeyDown={handleKeyDown}
|
onKeyDown={handleKeyDown}
|
||||||
onDrop={handleDropEvent}
|
onDrop={handleDropEvent}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue