Components: refactor Notice
to pass exhaustive-deps
#44157
Merged
Notice
to pass exhaustive-deps
#44157