text-provider icon indicating copy to clipboard operation
text-provider copied to clipboard

We Can use useContext hook intsead of <Textcontext.consumer>

Open nikhilbhatia08 opened this issue 1 year ago • 1 comments

We can use the useContext hook instead of using the <TextContext.consumer> as it was an old legacy way to do but we can simply use the useContext hook

nikhilbhatia08 avatar Sep 23 '23 03:09 nikhilbhatia08