diff --git a/react/src/components/DeleteMapModal/DeleteMapModal.module.css b/react/src/components/DeleteMapModal/DeleteMapModal.module.css deleted file mode 100644 index e69de29b..00000000 diff --git a/react/src/components/DeleteMapModal/DeleteMapModal.test.tsx b/react/src/components/DeleteMapModal/DeleteMapModal.test.tsx index 6f48294c..3c81f31e 100644 --- a/react/src/components/DeleteMapModal/DeleteMapModal.test.tsx +++ b/react/src/components/DeleteMapModal/DeleteMapModal.test.tsx @@ -36,10 +36,7 @@ jest.mock('react-router-dom', () => ({ const toggleMock = jest.fn(); const queryClient = new QueryClient(); -const renderComponent = async ( - projectId = 123, - projectName = 'Sample Project' -) => { +const renderComponent = async () => { await act(async () => { render( @@ -47,8 +44,7 @@ const renderComponent = async ( diff --git a/react/src/components/DeleteMapModal/DeleteMapModal.tsx b/react/src/components/DeleteMapModal/DeleteMapModal.tsx index e99cf6c9..99a57868 100644 --- a/react/src/components/DeleteMapModal/DeleteMapModal.tsx +++ b/react/src/components/DeleteMapModal/DeleteMapModal.tsx @@ -1,6 +1,6 @@ -import React, { useState } from 'react'; +import React from 'react'; import { Modal, ModalHeader, ModalBody, ModalFooter } from 'reactstrap'; -import { Button, SectionMessage } from '../../core-components'; +import { Button, SectionMessage } from '@tacc/core-components'; import styles from './DeleteMapModal.module.css'; import { Project } from '../../types'; import { useDeleteProject } from '../../hooks/projects/'; diff --git a/react/src/components/Projects/ProjectListing.tsx b/react/src/components/Projects/ProjectListing.tsx index 922297d1..1d74feac 100644 --- a/react/src/components/Projects/ProjectListing.tsx +++ b/react/src/components/Projects/ProjectListing.tsx @@ -1,6 +1,6 @@ import React, { useState } from 'react'; import { useProjectsWithDesignSafeInformation } from '@hazmapper/hooks'; -import { Button, LoadingSpinner, Icon } from '@tacc/core-components'; +import { Button, LoadingSpinner } from '@tacc/core-components'; import CreateMapModal from '../CreateMapModal/CreateMapModal'; import DeleteMapModal from '../DeleteMapModal/DeleteMapModal'; import { Project } from '../../types';