refactor: remove unused useConditionalReadOnly
hook
#4902
+2
−64
Merged