2
0
Aakansha Doshi 1 жил өмнө
parent
commit
1ac4200cc0

+ 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,
       },