refactor: Fix comments typo

This commit is contained in:
data-miner00
2024-09-29 07:32:37 +08:00
parent 0276c9d358
commit 78098c883c
5 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -79,7 +79,7 @@
: selected.service?.actions;
// We need to check if the selected action name is still
// on the available list, and if so, change tje action to the
// on the available list, and if so, change the action to the
// appropriate one, as it may contain different attributes
const availableAction = availableActions.find(
(a) => a.name === selected.action?.name
+2 -2
View File
@@ -51,7 +51,7 @@ export const toLocaleDateTime = (datetime: string | number) => {
};
/**
* Returns a date string usig the local timezone in ISO format (yyyy-mm-dd)
* Returns a date string using the local timezone in ISO format (yyyy-mm-dd)
*
* @param datetime date string or milliseconds since the epoch
*/
@@ -67,7 +67,7 @@ export const toLocaleDateISO = (datetime: string | number) => {
};
/**
* Returns a time string usig the local timezone in ISO format (hh:mm:ss)
* Returns a time string using the local timezone in ISO format (hh:mm:ss)
*
* @param datetime date string or milliseconds since the epoch
*/
+1 -1
View File
@@ -146,7 +146,7 @@ export type Aggregation = {
*/
amount: number;
/**
* Price for addional members
* Price for additional members
*/
additionalMembers: number;
/**
+1 -1
View File
@@ -31,7 +31,7 @@ function createHeaderAlertStore() {
});
},
get: (): HeaderAlert => {
//return higest importance component
//return highest importance component
let component = {
id: '',
show: false,
@@ -36,7 +36,7 @@
/**
*
* @param field {string} The field to update.
* Representes the path to the field in the formData object e.g. 'users.root'
* Represents the path to the field in the formData object e.g. 'users.root'
*/
function handleInputChange(field: FormKeys) {
return (event: Event) => {