mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-11-06 11:01:00 +08:00
chore: missing custom theme increase on frontend side
This commit is contained in:
parent
fe2f43dedf
commit
3b792e8758
1 changed files with 1 additions and 1 deletions
|
|
@ -422,7 +422,7 @@ export async function addCustomTheme(
|
|||
dbSnapshot.customThemes = [];
|
||||
}
|
||||
|
||||
if (dbSnapshot.customThemes.length >= 10) {
|
||||
if (dbSnapshot.customThemes.length >= 20) {
|
||||
Notifications.add("Too many custom themes!", 0);
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue