Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
limkhl committed Apr 8, 2024
2 parents ac0734b + 447d095 commit 1da73db
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 1da73db

Please sign in to comment.