Skip to content

Commit

Permalink
Remove unused files
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisvire committed Jul 19, 2023
1 parent ff1c1c4 commit 9881081
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 59 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ import { useRouter } from '~/lib/hooks';

import { ProductResource } from '@data';

import './styles.scss';

export interface Params {
id: string;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '../../../../styles/_base/variables.scss';
@import '../../../styles/_base/variables.scss';

.product-artifact {
border: 1px solid $lighter-gray;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import React from 'react';
import { match as Match } from 'react-router';
import { Tab, Menu } from 'semantic-ui-react';
import { idFromRecordIdentity, useOrbit } from 'react-orbitjs';

import { ProjectResource } from '@data';
Expand All @@ -12,7 +11,6 @@ import * as toast from '@lib/toast';

import Overview from './overview';
import Header from './header';
import Files from './files';

import { useLiveData } from '~/data/live';

Expand Down Expand Up @@ -67,42 +65,6 @@ export default function ProjectShowDisplay({ project }: IProps) {
/>

<Overview project={project} />

{/* <Tab
menu={{ text: true }}
className='tabs'
panes={[
{
menuItem: (
<Menu.Item
key={1}
className='bold p-b-sm p-l-md p-r-md uppercase'
data-test-project-overview-tab
name={t('project.overview')}
/>
),
render: () => (
<Tab.Pane attached={false}>
</Tab.Pane>
),
},
{
menuItem: (
<Menu.Item
key={2}
className='bold p-d-sm p-l-md p-r-md uppercase'
data-test-project-files-tab
name={t('project.productFiles')}
/>
),
render: () => (
<Tab.Pane attached={false}>
<Files project={project} />
</Tab.Pane>
),
},
]}
/> */}
</div>
);
}

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ export function withData(WrappedComponent) {
(q) => buildFindRecord(q, 'project', id),
buildOptions({
include: [
//'products.product-builds.product-artifacts',
//'products.product-builds.product-publications',
'products.user-tasks.user',
// 'products.user-tasks.product.product-definition.workflow',
'products.product-definition',
Expand Down

0 comments on commit 9881081

Please sign in to comment.