0👍
✅
Instead of using process.client
I used the process.browser
and it worked fine for me. Please refer the link: https://stackoverflow.com/a/69822954/7584240
Source:stackexchange.com