fix: toggling AppDetailNav causes unnecessary component rerenders (#3718)
This commit is contained in:
parent
9eebe9d54e
commit
40e36e9b52
18 changed files with 314 additions and 276 deletions
|
|
@ -40,7 +40,7 @@ const AppNav = () => {
|
|||
const { t } = useTranslation()
|
||||
const { appId } = useParams()
|
||||
const { isCurrentWorkspaceManager } = useAppContext()
|
||||
const { appDetail } = useAppStore()
|
||||
const appDetail = useAppStore(state => state.appDetail)
|
||||
const [showNewAppDialog, setShowNewAppDialog] = useState(false)
|
||||
const [showNewAppTemplateDialog, setShowNewAppTemplateDialog] = useState(false)
|
||||
const [showCreateFromDSLModal, setShowCreateFromDSLModal] = useState(false)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue