chore: refactor internal menu with hooks (#34433)
chore: refactor internal menu with hooks (#34433)

* chore: refactor menu with hooks

* chore: clean up
elevensky/ant-design,icaife/ant-design,ant-design/ant-design,zheeeng/ant-design,ant-design/ant-design,ant-design/ant-design,icaife/ant-design,elevensky/ant-design,zheeeng/ant-design,elevensky/ant-design,icaife/ant-design,elevensky/ant-design,ant-design/ant-design,icaife/ant-design,zheeeng/ant-design,zheeeng/ant-design