mirror of
https://github.com/NohamR/lanyard-profile-readme.git
synced 2026-11-25 15:30:01 +00:00
fix(front): fix react hydration error
This commit is contained in:
1 parent
347ced2c65
commit
8ec6196593
3 files changed
+21
-5
No files matched your search
@@ -97,7 +97,7 @@ async function renderCard(body: LanyardTypes.Root, params: Parameters): Promise<
|
||||
if (data.discord_user.avatar && data.discord_user.avatar.startsWith("a_")) avatarExtension = "gif";
|
||||
if (params.animated === "false") avatarExtension = "webp";
|
||||
if (params.theme === "light") {
|
||||
backgroundColor = "#eee";
|
||||
backgroundColor = "eee";
|
||||
theme = "light";
|
||||
}
|
||||
if (params.bg) backgroundColor = params.bg;
|
||||
|
||||
Reference in new issue
Block a user