Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.
Go dockerfossgomarkdownmemomicroblognote-takingnotesopen-sourceown-your-datareactself-hostedsqlitetimeline
fix: signin error notification is not shown (#2908)
Athurg Goothb8a9783db5dd
diff --git a/web/src/pages/SignIn.tsx b/web/src/pages/SignIn.tsxindex 4372ef2e3..d73b10fec 100644--- a/web/src/pages/SignIn.tsx+++ b/web/src/pages/SignIn.tsx@@ -1,4 +1,5 @@import { Button, Checkbox, Divider, Input } from "@mui/joy";+import { ClientError } from "nice-grpc-web";import { useEffect, useState } from "react";import { toast } from "react-hot-toast";import { Link } from "react-router-dom";@@ -85,7 +86,7 @@ const SignIn = () => {}} catch (error: any) {console.error(error);- toast.error(error.response.data.message || t("message.login-failed"));+ toast.error((error as ClientError).details || t("message.login-failed"));}actionBtnLoadingState.setFinish();};