import Config, { type MultiLang } from '../config'; import styles from './DatabaseTop.module.css'; import ItemType from './item-type'; interface Props { lang: MultiLang; } const DatabaseTop = (props: Props) => { const { lang } = props; const types: string[][] = []; const len = Config.XOONIPS_ITEMTYPES.length; for (let i = 0; i < Math.ceil(len / 2); i++) { const j = i * 2; const p = Config.XOONIPS_ITEMTYPES.slice(j, j + 2); types.push(p); } return (
|
{type !== '' && |
);
})}