{
if (props.itemKey === 'home') {
styleDispatch({
type: 'SET_INNER_PADDING',
payload: false,
});
styleDispatch({ type: 'SET_SIDER', payload: false });
} else {
styleDispatch({
type: 'SET_INNER_PADDING',
payload: true,
});
if (!styleState.isMobile) {
styleDispatch({ type: 'SET_SIDER', payload: true });
}
}
}}
>
{props.isExternal ? (
{itemElement}
) : (
{itemElement}
)}
);
}}
selectedKeys={[]}
// items={headerButtons}
onSelect={(key) => {}}
header={
styleState.isMobile
? {
logo: (