Skip to content

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

chore: reformat with prettier

Qiao Hanab62adf5649a
diff --git a/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/NotificationRow.tsx b/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/NotificationRow.tsx
index 35324b9ba25..54ba244d184 100644
--- a/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/NotificationRow.tsx
+++ b/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/NotificationRow.tsx
@@ -1,13 +1,13 @@
import * as Tooltip from '@radix-ui/react-tooltip'
import { Notification, NotificationStatus } from '@supabase/shared-types/out/notifications'
-import { useQuery, useQueryClient } from '@tanstack/react-query'
+import { useQueryClient } from '@tanstack/react-query'
import dayjs from 'dayjs'
import { useState } from 'react'
import { notificationKeys } from 'data/notifications/keys'
import { useProjectsQuery } from 'data/projects/projects-query'
import { useStore } from 'hooks'
-import { delete_, get } from 'lib/common/fetch'
+import { delete_ } from 'lib/common/fetch'
import { API_URL } from 'lib/constants'
import { Project } from 'types'
import { Button, IconX } from 'ui'
diff --git a/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/NotificationRows.utils.tsx b/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/NotificationRows.utils.tsx
index dc7313cfe82..1500e67d5d2 100644
--- a/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/NotificationRows.utils.tsx
+++ b/studio/components/layouts/ProjectLayout/LayoutHeader/NotificationsPopover/NotificationRows.utils.tsx
@@ -2,7 +2,6 @@ import dayjs from 'dayjs'
import { Project } from 'types'
import {
Action,
- ActionReason,
ActionType,
ExtensionsUpgrade,
Notification,
@@ -14,10 +13,7 @@ import {
import { IconArrowRight, IconExternalLink, Button } from 'ui'
import Link from 'next/link'
-export const formatNotificationText = (
- project: Project,
- notification: Notification,
-) => {
+export const formatNotificationText = (project: Project, notification: Notification) => {
const projectName = project.name
if (notification.data.name === NotificationName.ProjectExceedingTierLimit) {
@@ -159,9 +155,7 @@ export const formatNotificationText = (
}
}
-export const formatNotificationCTAText = (
- availableActions: Action[],
-) => {
+export const formatNotificationCTAText = (availableActions: Action[]) => {
const [action] = availableActions
if (!action) return <p className="text-sm"></p>