Hyprpanel now accurately identifies the submap on startup. (#317)

* Hyprpanel now accurately identifies the submap on startup.

* Update default submap logic.

* Separate logic from component
This commit is contained in:
Jas Singh
2024-10-08 21:42:01 -07:00
committed by GitHub
parent f2985e7c78
commit 2e66d801fd
3 changed files with 36 additions and 9 deletions

View File

@@ -190,6 +190,6 @@ export const isValidGjsColor = (color: string): boolean => {
return false;
};
export const caapitalizeFirstLetter = (str: string): string => {
export const capitalizeFirstLetter = (str: string): string => {
return str.charAt(0).toUpperCase() + str.slice(1);
};