diff --git a/web/src/components/DisablePasswordLoginDialog.tsx b/web/src/components/DisablePasswordLoginDialog.tsx index 511f86be..85827eb8 100644 --- a/web/src/components/DisablePasswordLoginDialog.tsx +++ b/web/src/components/DisablePasswordLoginDialog.tsx @@ -57,20 +57,20 @@ const DisablePasswordLoginDialog: React.FC = ({ destroy }: Props) => { return ( <> -
+

{t("setting.system-section.disable-password-login")}

-
+
{confirmedOnce ? ( <> -

{t("setting.system-section.disable-password-login-final-warning")}

- +

{t("setting.system-section.disable-password-login-final-warning")}

+ ) : ( -

{t("setting.system-section.disable-password-login-warning")}

+

{t("setting.system-section.disable-password-login-warning")}

)}
diff --git a/web/src/components/Inbox/VersionUpdateMessage.tsx b/web/src/components/Inbox/VersionUpdateMessage.tsx index 0cd5a611..f0f3d3cd 100644 --- a/web/src/components/Inbox/VersionUpdateMessage.tsx +++ b/web/src/components/Inbox/VersionUpdateMessage.tsx @@ -23,13 +23,16 @@ const VersionUpdateMessage = ({ inbox }: Props) => { return; } - activityServiceClient - .getActivity({ + (async () => { + const { activity } = await activityServiceClient.getActivity({ id: inbox.activityId, - }) - .then(({ activity }) => { - setActivity(activity); }); + if (!activity) { + return; + } + + setActivity(activity); + })(); }, [inbox.activityId]); const handleNavigate = () => { diff --git a/web/src/pages/Home.tsx b/web/src/pages/Home.tsx index 71ba6b69..4a770401 100644 --- a/web/src/pages/Home.tsx +++ b/web/src/pages/Home.tsx @@ -70,7 +70,7 @@ const Home = () => {
-
+
{sortedMemos.map((memo) => (