Skip to content

Commit 39a9d33

Browse files
committed
fix: update optional chaining
1 parent 9f8a782 commit 39a9d33

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

webapp/packages/core-app/src/Body.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export const Body = observer(function Body() {
6767
<DialogsPortal />
6868
<Notifications />
6969
</theme>
70-
{userInfo && <Watermark theme={userInfo?.configurationParameters['app.theme']} text={userInfo?.displayName || userInfo?.userId} />}
70+
{userInfo && <Watermark theme={userInfo.configurationParameters?.['app.theme']} text={userInfo.displayName || userInfo.userId} />}
7171
</Loader>
7272
</DNDProvider>,
7373
);

0 commit comments

Comments
 (0)