Commit b19e736f authored by Steven's avatar Steven

chore: tweak demo data

parent b4ea7d84
This diff is collapsed.
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment