Skip to content

Commit

Permalink
feat: 광역시 표기 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
limkhl committed Apr 8, 2024
1 parent 4a6fdfd commit 447d095
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/Result.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,13 @@
import React from 'react';
import client from '@/utils/client'
import './result.css'
import { useCandidates } from './Ask';

const Response = ({member}: any) => (
<div className="member">
<h3 className="name">{member.name}</h3>
<div className="affiliation">
<p className="party">{member.party}</p>
<p className="region">{member.region === '비례' ? '비례대표' : member.region.name}</p>
<p className="region">{member.city ? `${member.city.name} ${member.region.name}` : '비례대표'}</p>
</div>
</div>
)
Expand Down

0 comments on commit 447d095

Please sign in to comment.