Skip to content

Remove unused slot variables from user_callout_dismisser

What does this MR do and why?

Remove unused slot variables from user_callout_dismisser.vue.
The following slot variables were removed:

  • isAnonUser
  • isDismissed
  • isLoadingMutation
  • isLoadingQuery
  • mutationError
  • queryError

Only dismiss and shouldShowCallout remain, as they are the only ones actually used in the codebase.

Closes Issue #577584


References


Screenshots or screen recordings

No UI changes.


How to set up and validate locally

Run the specific test to verify the changes and ensure all tests pass (should show 11 tests passing):

yarn jest spec/frontend/vue_shared/components/user_callout_dismisser_spec.js --verbose
Edited by Vladyslav

Merge request reports

Loading