Skip to content

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

Fix prettier errors.

Ivan Vasilovfbf308e982df
diff --git a/apps/www/components/Footer/index.tsx b/apps/www/components/Footer/index.tsx
index bf99bdc0718..2f3b4aaf54b 100644
--- a/apps/www/components/Footer/index.tsx
+++ b/apps/www/components/Footer/index.tsx
@@ -132,7 +132,11 @@ const Footer = (props: Props) => {
return (
<li key={`${segment.title}_link_${idx}`}>
- {link.url.startsWith('https') ? <Fragment>{children}</Fragment> : <Link href={link.url}>{children}</Link>}
+ {link.url.startsWith('https') ? (
+ <Fragment>{children}</Fragment>
+ ) : (
+ <Link href={link.url}>{children}</Link>
+ )}
</li>
)
})}
diff --git a/apps/www/components/ImageModal.tsx b/apps/www/components/ImageModal.tsx
index 0b7c79e2db3..13430050048 100644
--- a/apps/www/components/ImageModal.tsx
+++ b/apps/www/components/ImageModal.tsx
@@ -26,7 +26,7 @@ interface Props {
}
/**
- * Similar to ui/Modal component but with an unstyled dialog content component.
+ * Similar to ui/Modal component but with an unstyled dialog content component.
* Mainly used to show images in a overlay.
*/
const ImageModal = ({
@@ -46,16 +46,15 @@ const ImageModal = ({
function handleOpenChange(open: boolean) {
if (visible !== undefined && !open) {
- // controlled component behaviour
+ // controlled component behavior
onCancel()
} else {
- // un-controlled component behaviour
+ // un-controlled component behavior
setOpen(open)
}
}
- const contentClasses =
- 'relative data-open:animate-overlay-show data-closed:animate-overlay-hide'
+ const contentClasses = 'relative data-open:animate-overlay-show data-closed:animate-overlay-hide'
return (
<Dialog.Root open={open} onOpenChange={handleOpenChange}>