test tank
This commit is contained in:
@@ -2,20 +2,13 @@ import clsx from 'clsx';
|
||||
import { useNewNavigate } from '@/modules';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
import { useLayoutStore } from '@/modules/layout/store';
|
||||
import { useShallow } from 'zustand/shallow';
|
||||
import { useMemo } from 'react';
|
||||
|
||||
const ServerPath = () => {
|
||||
const navigate = useNewNavigate();
|
||||
const { t } = useTranslation();
|
||||
const layoutStore = useLayoutStore(
|
||||
useShallow((state) => {
|
||||
return {
|
||||
isAdmin: state.isAdmin,
|
||||
checkHasOrg: state.checkHasOrg,
|
||||
};
|
||||
}),
|
||||
);
|
||||
const layoutStore = useLayoutStore();
|
||||
const { isAdmin, checkHasOrg } = layoutStore;
|
||||
const serverPath = [
|
||||
{
|
||||
path: 'container',
|
||||
|
||||
Reference in New Issue
Block a user