diff --git a/studio/lib/constants/prism.ts b/studio/lib/constants/prism.ts index 47bf84c5a0d..473c542bcf3 100644 --- a/studio/lib/constants/prism.ts +++ b/studio/lib/constants/prism.ts @@ -29,7 +29,7 @@ export function dart(Prism: any) { className, { // variables and parameters - // this to support class names (or generic parameters) which do not contain a lower case letter (also works for methods) + // supports class names (or generic parameters) which do not contain a lower case letter (also works for methods) pattern: RegExp(packagePrefix + /[A-Z]\w*(?=\s+\w+\s*[;,=()])/.source), lookbehind: true, inside: className.inside, diff --git a/studio/lib/gotrue.ts b/studio/lib/gotrue.ts index e4c6383a150..3e6d7f258f6 100644 --- a/studio/lib/gotrue.ts +++ b/studio/lib/gotrue.ts @@ -39,7 +39,7 @@ export const getIdentity = (gotrueUser: User) => { } // NOTE: do not use any imports in this function, -// as it is use standalone in the documents head +// as it is used standalone in the documents head export const getReturnToPath = (fallback = '/projects') => { const searchParams = new URLSearchParams(location.search) let returnTo = searchParams.get('returnTo') ?? fallback diff --git a/studio/lib/helpers.ts b/studio/lib/helpers.ts index da727d7ec87..fa4fff11400 100644 --- a/studio/lib/helpers.ts +++ b/studio/lib/helpers.ts @@ -110,7 +110,7 @@ export const filterSensitiveProjectProps = (project: any) => { } /** - * Returns undefine if the string isn't parse-able + * Returns undefined if the string isn't parse-able */ export const tryParseInt = (str: string) => { try { @@ -120,7 +120,7 @@ export const tryParseInt = (str: string) => { } } -// Used as checker for memoised components +// Used as checker for memoized components export const propsAreEqual = (prevProps: any, nextProps: any) => { try { Object.keys(prevProps).forEach((key) => {