mirror of
https://github.com/usememos/memos.git
synced 2024-12-19 00:51:30 +03:00
fix: use ??
in className use (#1829)
This commit is contained in:
parent
6dca551164
commit
1b0efc5548
@ -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 New Issue
Block a user