Small linting fix

This commit is contained in:
Joshen Lim committed 2023-08-07 11:13:00 +08:00
1 parent 5d327d0ed0
commit ccab488a49
4 files changed
+15 -15

No files matched your search

@@ -1,4 +1,5 @@
import { isError, partition } from 'lodash'
import { useParams } from 'common'
import { partition } from 'lodash'
import Link from 'next/link'
import { useRouter } from 'next/router'
import { useState } from 'react'
@@ -14,7 +15,6 @@ import {
Modal,
} from 'ui'
import { useParams } from 'common'
import { ScaffoldContainer, ScaffoldSection } from 'components/layouts/Scaffold'
import ProductEmptyState from 'components/to-be-cleaned/ProductEmptyState'
import AlertError from 'components/ui/AlertError'
@@ -1,3 +1,5 @@
import { useParams } from 'common'
import Link from 'next/link'
import { useEffect, useState } from 'react'
import {
AlertDescription_Shadcn_,
@@ -11,7 +13,6 @@ import {
SidePanel,
} from 'ui'
import { useParams } from 'common'
import AlertError from 'components/ui/AlertError'
import NoSearchResults from 'components/ui/NoSearchResults'
import { GenericSkeletonLoader } from 'components/ui/ShimmeringLoader'
@@ -20,7 +21,6 @@ import { useBranchesQuery } from 'data/branches/branches-query'
import { useGithubBranchesQuery } from 'data/integrations/integrations-github-branches-query'
import { useOrgIntegrationsQuery } from 'data/integrations/integrations-query-org-only'
import { useSelectedOrganization, useSelectedProject, useStore } from 'hooks'
import Link from 'next/link'
interface CreateBranchSidePanelProps {
visible: boolean
@@ -1,14 +1,14 @@
import { useParams } from 'common'
import { partition } from 'lodash'
import { Button, IconExternalLink, IconGitBranch } from 'ui'
import { Branch, useBranchesQuery } from 'data/branches/branches-query'
import { BranchContainer, BranchHeader, BranchPanel } from './BranchPanels'
import { useParams } from 'common'
import { useGithubPullRequestsQuery } from 'data/integrations/integrations-github-pull-requests-query'
import { partition } from 'lodash'
import { useSelectedOrganization, useSelectedProject } from 'hooks'
import { useOrgIntegrationsQuery } from 'data/integrations/integrations-query-org-only'
import { GenericSkeletonLoader } from 'components/ui/ShimmeringLoader'
import AlertError from 'components/ui/AlertError'
import { GenericSkeletonLoader } from 'components/ui/ShimmeringLoader'
import { Branch, useBranchesQuery } from 'data/branches/branches-query'
import { useGithubPullRequestsQuery } from 'data/integrations/integrations-github-pull-requests-query'
import { useOrgIntegrationsQuery } from 'data/integrations/integrations-query-org-only'
import { useSelectedOrganization, useSelectedProject } from 'hooks'
import { BranchContainer, BranchHeader, BranchPanel } from './BranchPanels'
interface PreviewBranchesProps {
generateCreatePullRequestURL: (branch?: string) => string
@@ -1,14 +1,14 @@
import { useParams } from 'common'
import Link from 'next/link'
import { Button, IconExternalLink, IconGitBranch } from 'ui'
import { useParams } from 'common'
import AlertError from 'components/ui/AlertError'
import { GenericSkeletonLoader } from 'components/ui/ShimmeringLoader'
import { Branch, useBranchesQuery } from 'data/branches/branches-query'
import { useGithubPullRequestsQuery } from 'data/integrations/integrations-github-pull-requests-query'
import { useOrgIntegrationsQuery } from 'data/integrations/integrations-query-org-only'
import { useSelectedOrganization, useSelectedProject } from 'hooks'
import { BranchContainer, BranchHeader, PullRequestPanel } from './BranchPanels'
import { GenericSkeletonLoader } from 'components/ui/ShimmeringLoader'
import AlertError from 'components/ui/AlertError'
interface PullRequestsProps {
previewBranches: Branch[]