Conform more of the codebase with strictNullChecks
(#10703)
This commit is contained in:
parent
db40479910
commit
619a9e8542
24 changed files with 108 additions and 77 deletions
|
@ -68,14 +68,14 @@ const QuickSettingsButton: React.FC<{
|
|||
{_t("All settings")}
|
||||
</AccessibleButton>
|
||||
|
||||
{SettingsStore.getValue("developerMode") && (
|
||||
{SettingsStore.getValue("developerMode") && SdkContextClass.instance.roomViewStore.getRoomId() && (
|
||||
<AccessibleButton
|
||||
onClick={() => {
|
||||
closeMenu();
|
||||
Modal.createDialog(
|
||||
DevtoolsDialog,
|
||||
{
|
||||
roomId: SdkContextClass.instance.roomViewStore.getRoomId(),
|
||||
roomId: SdkContextClass.instance.roomViewStore.getRoomId()!,
|
||||
},
|
||||
"mx_DevtoolsDialog_wrapper",
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue