Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

minor typo fixes

therealrinkue0428f21e3f7
diff --git a/studio/lib/constants/prism.ts b/studio/lib/constants/prism.ts
index 47bf84c5a0d..ca767a6ac84 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)
+ // add this to support 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 ef127b6ab46..d16f3ef2260 100644
--- a/studio/lib/helpers.ts
+++ b/studio/lib/helpers.ts
@@ -111,7 +111,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 {
@@ -121,7 +121,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) => {