Components: refactor Snackbar
to pass exhaustive-deps
#44934
Merged
Snackbar
to pass exhaustive-deps
#44934