Skip to content

Commit

Permalink
rename to statement
Browse files Browse the repository at this point in the history
  • Loading branch information
travisbloom-cb committed Sep 23, 2024
1 parent 5105690 commit c19183b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/app/dtsiAnalysisDetails/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { cn } from '@/utils/web/cn'

export interface AnalysisDetailsProps {
analysis: DTSI_PersonStanceDetailsFragment['analysis'][0]
analysisType: 'bill' | 'stance'
analysisType: 'bill' | 'statement'
}

export function AnalysisDetails({ analysis, analysisType }: AnalysisDetailsProps) {
Expand Down
8 changes: 4 additions & 4 deletions src/components/app/dtsiStanceDetails/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ export function DTSIStanceDetails({ className, ...props }: IStanceDetailsProps)
<DialogBody className="flex flex-col justify-between space-y-8">
<div className="space-y-8">
<div>
<h3 className="text-xl font-bold">Top analysis on stance</h3>
<h3 className="text-xl font-bold">Top analysis on statement</h3>
<h4 className="mt-2 text-lg">
Crypto advocates like you can submit your own analysis of this stance on our
data partner{' '}
Crypto advocates like you can submit your own analysis of this statement on
our data partner{' '}
<ExternalLink
href={`https://www.dotheysupportit.com/stances/${stance.id}/create-analysis`}
>
Expand All @@ -86,7 +86,7 @@ export function DTSIStanceDetails({ className, ...props }: IStanceDetailsProps)
{stance.analysis.map(analysis => {
return (
<div key={analysis.id}>
<AnalysisDetails analysis={analysis} analysisType="stance" />
<AnalysisDetails analysis={analysis} analysisType="statement" />
</div>
)
})}
Expand Down

0 comments on commit c19183b

Please sign in to comment.