Skip to content

Commit 7165506

Browse files
committed
trigger on close button
1 parent d327b38 commit 7165506

File tree

1 file changed

+0
-19
lines changed
  • frontend/src/app/my/mentorship/programs/[programKey]/modules/[moduleKey]/issues/[issueId]

1 file changed

+0
-19
lines changed

frontend/src/app/my/mentorship/programs/[programKey]/modules/[moduleKey]/issues/[issueId]/page.tsx

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -198,25 +198,6 @@ const ModuleIssueDetailsPage = () => {
198198
min={new Date().toISOString().slice(0, 10)}
199199
className="h-8 rounded border border-gray-300 px-2 dark:border-gray-600"
200200
/>
201-
<button
202-
type="button"
203-
disabled={clearingDeadline}
204-
onClick={async () => {
205-
if (!clearingDeadline && issueId) {
206-
await clearTaskDeadlineMutation({
207-
variables: {
208-
programKey,
209-
moduleKey,
210-
issueNumber: Number(issueId),
211-
},
212-
})
213-
}
214-
}}
215-
className="inline-flex h-7 w-7 items-center justify-center rounded-md text-gray-600 hover:bg-gray-100 disabled:cursor-not-allowed disabled:opacity-50 dark:text-gray-300 dark:hover:bg-gray-800"
216-
title="Clear deadline"
217-
>
218-
<FontAwesomeIcon icon={faXmark} className="h-3.5 w-3.5" />
219-
</button>
220201
</div>
221202
) : (
222203
<button

0 commit comments

Comments
 (0)