chore: tweak demo data

This commit is contained in:
Steven 2025-10-20 23:58:49 +08:00
parent b4ea7d843f
commit b19e736f10
2 changed files with 4 additions and 4 deletions

File diff suppressed because one or more lines are too long

View file

@ -16,8 +16,8 @@ const PasswordSignInForm = observer(() => {
const t = useTranslate();
const navigateTo = useNavigateTo();
const actionBtnLoadingState = useLoading(false);
const [username, setUsername] = useState(workspaceStore.state.profile.mode === "demo" ? "yourselfhosted" : "");
const [password, setPassword] = useState(workspaceStore.state.profile.mode === "demo" ? "yourselfhosted" : "");
const [username, setUsername] = useState(workspaceStore.state.profile.mode === "demo" ? "memos" : "");
const [password, setPassword] = useState(workspaceStore.state.profile.mode === "demo" ? "memos" : "");
const handleUsernameInputChanged = (e: React.ChangeEvent<HTMLInputElement>) => {
const text = e.target.value as string;