mirror of
https://github.com/usememos/memos.git
synced 2025-10-24 05:07:13 +08:00
chore: tweak demo data
This commit is contained in:
parent
b4ea7d843f
commit
b19e736f10
2 changed files with 4 additions and 4 deletions
File diff suppressed because one or more lines are too long
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue