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