mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
fix: serial updates
This commit is contained in:
@@ -10,13 +10,6 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
|
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
|
||||||
<!-- memos.metadata.head -->
|
<!-- memos.metadata.head -->
|
||||||
<title>Memos</title>
|
<title>Memos</title>
|
||||||
<script>
|
|
||||||
// Prevent flash of light mode.
|
|
||||||
const appearance = localStorage.getItem("appearance");
|
|
||||||
if (appearance === `"dark"`) {
|
|
||||||
document.documentElement.classList.add("dark");
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
</head>
|
</head>
|
||||||
<body class="text-base w-full min-h-[100svh] bg-zinc-50 dark:bg-zinc-900">
|
<body class="text-base w-full min-h-[100svh] bg-zinc-50 dark:bg-zinc-900">
|
||||||
<div id="root" class="relative w-full min-h-full"></div>
|
<div id="root" class="relative w-full min-h-full"></div>
|
||||||
|
@@ -41,8 +41,8 @@ const userStore = (() => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const fetchUserByUsername = async (username: string) => {
|
const fetchUserByUsername = async (username: string) => {
|
||||||
const user = await userServiceClient.getUser({
|
const user = await userServiceClient.getUserByUsername({
|
||||||
name: username,
|
username,
|
||||||
});
|
});
|
||||||
state.setPartial({
|
state.setPartial({
|
||||||
userMapByName: {
|
userMapByName: {
|
||||||
|
Reference in New Issue
Block a user