wrappid / core

This is a Wrappid package repository that contains core functionalities of Wrappid Framework that enables users to use Wrappid's core features and components.
MIT License
10 stars 4 forks source link

bug: changed in CoreTOC menu #192

Closed irkfaisal closed 3 months ago

irkfaisal commented 3 months ago

Describe the bug Elements that we are setting inside a useEffect should move to a function ( prepareTOCMenu() ) then that function should call inside the useEffect

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Stack Trace The stack trace of the bug if any.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

irkfaisal commented 3 months ago

closing this issue, i have added CoreTOC in component.js