mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-27 09:00:28 +08:00
19df503888
Sidebar items not being rendered caused the currentTab to be undefined, until the sidebar is opened, and then currentTab is set - which then caused a useEffect that closes sidebar to fire. This lead to the sidebar closing right away on the first click. To fix this the sidebar item state was moved to navigationHook, and changing the list of items on a sidebar updates currentTab at the same time to prevent sidebar rendering setting it again. |
||
---|---|---|
.. | ||
api | ||
bukkit | ||
bungeecord | ||
common | ||
config/checkstyle | ||
extensions | ||
fabric | ||
gradle/wrapper | ||
nukkit | ||
plugin | ||
react/dashboard | ||
sponge | ||
velocity | ||
build.gradle | ||
checkstyle.xml | ||
Class Diagram.xml | ||
Database.jpg | ||
Database.xml | ||
gradle.properties | ||
gradlew | ||
gradlew.bat | ||
json-endpoints.md | ||
PlanEnable.jpg | ||
settings.gradle |