mirror of
https://github.com/usememos/memos.git
synced 2025-01-28 08:05:03 +08:00
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 (
|
||||
<div
|
||||
className={`${className} memo-editor-container ${state.fullscreen ? "fullscreen" : ""}`}
|
||||
className={`${className ?? ""} memo-editor-container ${state.fullscreen ? "fullscreen" : ""}`}
|
||||
tabIndex={0}
|
||||
onKeyDown={handleKeyDown}
|
||||
onDrop={handleDropEvent}
|
||||
|
|
Loading…
Reference in a new issue