Skip to content

Commit 65c4ad5

Browse files
committed
Remove unneeded comments
1 parent 570af31 commit 65c4ad5

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

resources/js/Pages/Results.vue

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -272,15 +272,7 @@ async function send( item: string ): Promise<void> {
272272
return;
273273
}
274274
275-
// Casting to `any` since TS cannot understand $refs as
276-
// component instances and complains about the usage of `show`
277-
// See: https://github.com/vuejs/vue-class-component/issues/94
278-
// Defaulting to any, as the alternative presents us with
279-
// convoluted and unnecessary syntax.
280-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
281-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
282275
const overlay = overlayRef.value;
283-
284276
overlay.show();
285277
286278
// use axios in order to preserve saved mismatches
@@ -327,12 +319,8 @@ function storePreviousDecisions(item: string) {
327319
decision.previous_status = decision.review_status;
328320
}
329321
}
330-
// Anotating dialog as `any` since typescript doesn't fully
331-
// understand component instances and complains about usage of the
332-
// hide method otherwise.
333-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
322+
334323
function _handleConfirmation(){
335-
// const { disableConfirmation, user } = this;
336324
337325
// Do nothing if there is no user
338326
if ( !props.user ){

0 commit comments

Comments
 (0)