From 50bb5094846fa87bb7df56f3243ae59e63e5d7ce Mon Sep 17 00:00:00 2001 From: nathan Date: Sun, 2 Aug 2026 19:00:41 -0400 Subject: [PATCH] fixed retarded prettier 'error' --- src/app/pages/auth/AuthLayout.tsx | 2 +- src/app/pages/auth/oidc/oidcConfig.ts | 2 +- src/app/pages/client/ClientNonUIFeatures.tsx | 14 ++++++++++---- src/app/pages/client/WelcomePage.tsx | 2 +- 4 files changed, 13 insertions(+), 7 deletions(-) diff --git a/src/app/pages/auth/AuthLayout.tsx b/src/app/pages/auth/AuthLayout.tsx index 2641ba07a..332605b0f 100644 --- a/src/app/pages/auth/AuthLayout.tsx +++ b/src/app/pages/auth/AuthLayout.tsx @@ -30,7 +30,7 @@ import { AuthFlowsProvider } from '../../hooks/useAuthFlows'; import { AuthServerProvider } from '../../hooks/useAuthServer'; import { tryDecodeURIComponent } from '../../utils/dom'; import { getOriginBaseUrl, withOriginBaseUrl } from '../pathUtils'; -const LotusLogo = withOriginBaseUrl(getOriginBaseUrl() ,'/Lotus.png'); +const LotusLogo = withOriginBaseUrl(getOriginBaseUrl(), '/Lotus.png'); const currentAuthPath = (pathname: string): string => { if (matchPath(LOGIN_PATH, pathname)) { diff --git a/src/app/pages/auth/oidc/oidcConfig.ts b/src/app/pages/auth/oidc/oidcConfig.ts index b046ec150..9c8e19371 100644 --- a/src/app/pages/auth/oidc/oidcConfig.ts +++ b/src/app/pages/auth/oidc/oidcConfig.ts @@ -1,7 +1,7 @@ import type { OidcRegistrationClientMetadata } from 'matrix-js-sdk'; import { OIDC_CALLBACK_PATH } from '../../paths'; import { getOriginBaseUrl, withOriginBaseUrl } from '../../pathUtils'; -const LotusLogo = withOriginBaseUrl(getOriginBaseUrl() ,'/Lotus.png'); +const LotusLogo = withOriginBaseUrl(getOriginBaseUrl(), '/Lotus.png'); /** * Absolute URL the OIDC provider redirects back to after authorization. diff --git a/src/app/pages/client/ClientNonUIFeatures.tsx b/src/app/pages/client/ClientNonUIFeatures.tsx index 69e682773..879374ce2 100644 --- a/src/app/pages/client/ClientNonUIFeatures.tsx +++ b/src/app/pages/client/ClientNonUIFeatures.tsx @@ -26,7 +26,13 @@ import { settingsAtom } from '../../state/settings'; import { allInvitesAtom } from '../../state/room-list/inviteList'; import { useMatrixClient } from '../../hooks/useMatrixClient'; import { useHydrateMsgDrafts } from '../../hooks/useHydrateMsgDrafts'; -import { getDirectRoomPath, getHomeRoomPath, getInboxInvitesPath, getOriginBaseUrl, withOriginBaseUrl } from '../pathUtils'; +import { + getDirectRoomPath, + getHomeRoomPath, + getInboxInvitesPath, + getOriginBaseUrl, + withOriginBaseUrl, +} from '../pathUtils'; import { mDirectAtom } from '../../state/mDirectList'; import { getMemberName, @@ -63,9 +69,9 @@ import { shouldNotifyThreadReply, THREAD_NOTIFICATIONS_FALLBACK_BEHAVIOR, } from '../../utils/threadNotifications'; -const LogoSVG = withOriginBaseUrl(getOriginBaseUrl() ,'/lotus.png'); -const LogoUnreadSVG = withOriginBaseUrl(getOriginBaseUrl() ,'/lotus-unread.png') -const LogoHighlightSVG = withOriginBaseUrl(getOriginBaseUrl() ,'/lotus-highlight.png'); +const LogoSVG = withOriginBaseUrl(getOriginBaseUrl(), '/lotus.png'); +const LogoUnreadSVG = withOriginBaseUrl(getOriginBaseUrl(), '/lotus-unread.png'); +const LogoHighlightSVG = withOriginBaseUrl(getOriginBaseUrl(), '/lotus-highlight.png'); // Grace period after the initial sync settles before invite notifications arm, so // the async invite-atom population lands first and isn't mistaken for new invites. diff --git a/src/app/pages/client/WelcomePage.tsx b/src/app/pages/client/WelcomePage.tsx index b807501aa..9e5a3e122 100644 --- a/src/app/pages/client/WelcomePage.tsx +++ b/src/app/pages/client/WelcomePage.tsx @@ -3,7 +3,7 @@ import { Box, Button, Icon, Icons, Text, config, toRem } from 'folds'; import { Page, PageHero, PageHeroSection } from '../../components/page'; import pkg from '../../../../package.json'; import { getOriginBaseUrl, withOriginBaseUrl } from '../pathUtils'; -const LotusLogo = withOriginBaseUrl(getOriginBaseUrl() ,'/Lotus.png'); +const LotusLogo = withOriginBaseUrl(getOriginBaseUrl(), '/Lotus.png'); export function WelcomePage() { return (