Skip to content

Commit

Permalink
Merge pull request #96 from esc-chula/dev
Browse files Browse the repository at this point in the history
fix: remove zoom link button from onsite intvw
  • Loading branch information
sunatchaa authored Oct 17, 2024
2 parents d3dfd93 + 7808d7d commit 9cfad9d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/core/components/profile/stepCard.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ const StepCard: React.FC<StepCardProps> = ({ step, status, isApproved }) => {
}

const CopyToClipboardIcon: React.FC<React.HTMLAttributes<HTMLImageElement>> = props => {
return <img src={copyToClipBoard} onClick={copyZoomNameToClipboard} alt="" {...props} />
return <img src={copyToClipBoard} onClick={copyZoomNameToClipboard} alt="" style={{ cursor: "pointer" }} {...props} />
}

const renderButton = (opensDialog: boolean, dialogType: string | undefined, isPrimary: boolean, isExternalPath: boolean | undefined) => {
Expand Down Expand Up @@ -299,10 +299,6 @@ const StepCard: React.FC<StepCardProps> = ({ step, status, isApproved }) => {
style={{ color: "#941014" }}>
แบบฟอร์มยินยอมให้เก็บรวบรวม ใช้ และเปิดเผยข้อมูลส่วนบุคคล
</a>
<div className={classes.buttonContainer}>
{text.secondaryButton &&
renderButton(text.secondaryButton.opensDialog, text.secondaryButton.dialogType, false, text.secondaryButton.isExternalPath)}
</div>
</>
)}
</>
Expand Down

0 comments on commit 9cfad9d

Please sign in to comment.