Bug fixes

This commit is contained in:
2025-10-13 21:28:13 -05:00
parent b00c720f50
commit 6cf2cac9a1
8 changed files with 20 additions and 11 deletions

View File

@@ -77,7 +77,10 @@ export function Themes() {
useEffect(() => {
if (backgroundData && isBackgroundFetched) {
setBackgroundList(['None', ...backgroundData]);
setBackgroundList([
'None',
...backgroundData.sort((a: string, b: string) => a.localeCompare(b)),
]);
}
}, [backgroundData, isBackgroundFetched]);