Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
canifa_note
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vũ Hoàng Anh
canifa_note
Commits
bc97b66f
Commit
bc97b66f
authored
Feb 20, 2025
by
Johnny
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: serial updates
parent
f15fd42e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
9 deletions
+2
-9
index.html
web/index.html
+0
-7
user.ts
web/src/store/v2/user.ts
+2
-2
No files found.
web/index.html
View file @
bc97b66f
...
@@ -10,13 +10,6 @@
...
@@ -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>
...
...
web/src/store/v2/user.ts
View file @
bc97b66f
...
@@ -41,8 +41,8 @@ const userStore = (() => {
...
@@ -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
.
getUser
ByUsername
({
name
:
username
,
username
,
});
});
state
.
setPartial
({
state
.
setPartial
({
userMapByName
:
{
userMapByName
:
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment