मुझे समझ नहीं आया कि आप इस tamir-digital-store.tsx फ़ाइल के साथ क्या करना चाहते हैं। क्या आप:
कृपया स्पष्ट करें ताकि मैं सही काम कर सकूँ। 🙏
I've upgraded Next.js from 14.2.25 to 14.2.35.
The code returns the following error:
Cannot update a component (`Home`) while rendering a different component (`HiddenAdminButton`). To locate the bad setState() call inside `HiddenAdminButton`, follow the stack trace as described in https://react.dev/link/setstate-in-render
at onAdminAccess (/app/page)
at (/components/hidden-admin-button)
Revise the code to address the error.
I was previewing: /