Skip to content

Commit

Permalink
remove comments/TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
gestchild committed May 22, 2024
1 parent bbe40e5 commit 301b2a1
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export const ExhibitionGuideLinks: FunctionComponent<Props> = ({
};

type ResourceProps = {
textPathname: string | undefined; // TODO make these more specifid=c?
textPathname: string | undefined;
audioPathname: string | undefined;
videoPathname: string | undefined;
};
Expand Down
11 changes: 5 additions & 6 deletions content/webapp/components/GuideMediaStop/GuideMediaStop.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,11 @@ import {
} from '@weco/content/components/Body/GridFactory';

export type Props = {
// TODO
number: any;
title: any;
audio: any;
video: any;
type: any;
number: number;
title: string;
audio: string;
video: string;
type: string;
};

const GuideMediaStop: FunctionComponent<Props> = ({
Expand Down
6 changes: 0 additions & 6 deletions prismic-model/src/exhibition-highlight-tours.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// import { CustomType } from './types/CustomType';
import title from './parts/title';
import { documentLink, mediaLink } from './parts/link';
import list from './parts/list';
// import image from './parts/image'; // TODO do we need this?
import { multiLineText } from './parts/text';
import embed from './parts/embed';
import number from './parts/number';
Expand All @@ -26,16 +24,12 @@ const exhibitionHighlightTours = {
Stops: {
stops: list('Stop', {
title,
// image: image('image'), // TODO do we need this?
number: number('Stop number', {
placeholder: 'Stop number for this content',
}),
'audio-with-description': mediaLink(
'Audio with description (.mp3 file)'
),
// 'audio-without-description': mediaLink( // TODO do we need this?
// 'Audio without description (.mp3 file)'
// ),
'bsl-video': embed('Embed (Youtube)'),
transcript: multiLineText('Transcript'),
}),
Expand Down
2 changes: 0 additions & 2 deletions prismic-model/src/exhibition-texts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { CustomType } from './types/CustomType';
import title from './parts/title';
import { documentLink } from './parts/link';
import list from './parts/list';
// import image from './parts/image'; // TODO is this needed?
import { multiLineText } from './parts/text';

const exhibitionTexts: CustomType = {
Expand Down Expand Up @@ -34,7 +33,6 @@ const exhibitionTexts: CustomType = {
// https://wellcome.slack.com/archives/CUA669WHH/p1658396258859169
tombstone: multiLineText('Tombstone'),
caption: multiLineText('Caption'),
// image: image('image'), // TODO is this needed?
}),
},
},
Expand Down

0 comments on commit 301b2a1

Please sign in to comment.