Aakansha Doshi 1 年之前
父節點
當前提交
1ac4200cc0
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/excalidraw/components/App.tsx

+ 1 - 1
packages/excalidraw/components/App.tsx

@@ -1724,7 +1724,7 @@ class App extends React.Component<AppProps, AppState> {
       this.files,
       {
         exportBackground: this.state.exportBackground,
-        name: this.props?.name || getFileName(),
+        name: this.props.name || getFileName(),
         viewBackgroundColor: this.state.viewBackgroundColor,
         exportingFrame: opts.exportingFrame,
       },