Skip to content

Commit

Permalink
🐛 fix: 유학생이 입력한 정보 중 서명 미리보기 정상적으로 표기되도록 수정 #127
Browse files Browse the repository at this point in the history
  • Loading branch information
MrMirror21 committed Nov 21, 2024
1 parent e5996cc commit c4769f2
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
LaborContractEmployeeInfoProperty,
} from '@/types/api/document';
import { Address } from '@/types/api/users';
import { getDetailAddress, getImageType } from '@/utils/document';
import { getDetailAddress } from '@/utils/document';
import { renderMap } from '@/utils/map';

const EmployeeInfoSectionKOR = ({
Expand Down Expand Up @@ -70,8 +70,8 @@ const EmployeeInfoSectionKOR = ({
<div className="border border-gray-200 rounded-xl">
{value !== '' && (
<img
src={`data:image/${getImageType(value)};base64,${value}`}
className="w-full h-full object-cover"
src={`data:image/svg+xml;base64,${value}`}
className="w-full h-full object-cover bg-white rounded-xl"
alt="signature preview"
/>
)}
Expand Down

0 comments on commit c4769f2

Please sign in to comment.