Unverified Commit 1b0efc55 authored by SedationH's avatar SedationH Committed by GitHub

fix: use `??` in className use (#1829)

parent 6dca5511
......@@ -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}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment