瀏覽代碼

BugFix for callout label

Yuki Takei 1 年之前
父節點
當前提交
a3466bf352
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      apps/app/src/features/callout/services/callout.ts

+ 1 - 1
apps/app/src/features/callout/services/callout.ts

@@ -26,7 +26,7 @@ export const remarkPlugin: Plugin = () => {
         data.hName = 'callout';
         data.hProperties = {
           type,
-          label: label ?? type,
+          label,
         };
 
       }