1
0
mirror of https://github.com/excalidraw/excalidraw.git synced 2024-11-10 11:35:52 +01:00
excalidraw/excalidraw-app/components
Aakansha Doshi 73bf50e8a8
fix: remove t from getDefaultAppState and allow name to be nullable (#7666)
* fix: remove t and allow name to be nullable

* pass name as required prop

* remove Unnamed

* pass name to excalidrawPlus as well for better type safe

* render once we have excalidrawAPI to avoid defaulting

* rename `getAppName` -> `getName` (temporary)

* stop preventing editing filenames when `props.name` supplied

* keep `name` as optional param for export functions

* keep `appState.name` on `props.name` state separate

* fix lint

* assertive first

* fix lint

* Add TODO

---------

Co-authored-by: dwelle <5153846+dwelle@users.noreply.github.com>
2024-02-15 11:11:18 +05:30
..
AppFooter.tsx build: decouple package deps and introduce yarn workspaces (#7415) 2023-12-12 11:32:51 +05:30
AppMainMenu.tsx feat: change collab trigger & add share dialog (#7647) 2024-02-03 14:04:23 +00:00
AppWelcomeScreen.tsx feat: change collab trigger & add share dialog (#7647) 2024-02-03 14:04:23 +00:00
EncryptedIcon.tsx build: decouple package deps and introduce yarn workspaces (#7415) 2023-12-12 11:32:51 +05:30
ExcalidrawPlusAppLink.tsx refactor: move excalidraw-app outside src (#6987) 2023-09-21 09:28:48 +05:30
ExportToExcalidrawPlus.tsx fix: remove t from getDefaultAppState and allow name to be nullable (#7666) 2024-02-15 11:11:18 +05:30
GitHubCorner.tsx build: decouple package deps and introduce yarn workspaces (#7415) 2023-12-12 11:32:51 +05:30
LanguageList.tsx build: decouple package deps and introduce yarn workspaces (#7415) 2023-12-12 11:32:51 +05:30
TopErrorBoundary.tsx build: decouple package deps and introduce yarn workspaces (#7415) 2023-12-12 11:32:51 +05:30