From 8aa1362be6fc4c6ebc5c2494953caf4242a6838b Mon Sep 17 00:00:00 2001 From: Vivian Phung Date: Sat, 11 May 2024 21:17:56 -0400 Subject: [PATCH] [3/n][project settings ui] Domains cleanup --- .../org-slug/projects/id/settings/Domains.tsx | 27 +++++++++---------- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/packages/frontend/src/pages/org-slug/projects/id/settings/Domains.tsx b/packages/frontend/src/pages/org-slug/projects/id/settings/Domains.tsx index ff39baf4..11039d0e 100644 --- a/packages/frontend/src/pages/org-slug/projects/id/settings/Domains.tsx +++ b/packages/frontend/src/pages/org-slug/projects/id/settings/Domains.tsx @@ -1,17 +1,14 @@ import { RequestError } from 'octokit'; import { useCallback, useEffect, useState } from 'react'; -import { Link, useOutletContext } from 'react-router-dom'; +import { useOutletContext } from 'react-router-dom'; import { Domain } from 'gql-client'; -import { - Button, - Typography, -} from '@snowballtools/material-tailwind-react-fork'; - -import DomainCard from '../../../../../components/projects/project/settings/DomainCard'; +import DomainCard from 'components/projects/project/settings/DomainCard'; import { useGQLClient } from '../../../../../context/GQLClientContext'; -import { OutletContextType } from '../../../../../types/types'; +import { OutletContextType } from '../../../../../types'; import { useOctokit } from '../../../../../context/OctokitContext'; +import { Heading } from 'components/shared/Heading'; +import { Button } from 'components/shared/Button'; const Domains = () => { const client = useGQLClient(); @@ -61,13 +58,13 @@ const Domains = () => { return ( <> -
- Domain - - - +
+ + Domains + +
{domains.map((domain) => {