mirror of
https://github.com/supabase/supabase.git
synced 2026-10-14 05:39:11 +03:00
Merge pull request #11944 from therealrinku/typo-fixes
minor typo fixes
This commit is contained in:
3 files changed
+4
-4
No files matched your search
@@ -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,
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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) => {
|
||||
|
||||
Reference in new issue
Block a user