x
This commit is contained in:
1 parent
9370869dc2
commit
b8873f88b0
4 files changed
+351
-3
No files matched your search
@@ -61,8 +61,8 @@ export function MobileDrawer({ isOpen, onClose, items, onOpenLang }: MobileDrawe
|
||||
if (view.type === 'root') {
|
||||
return (
|
||||
<div className="px-6 py-2 space-y-1">
|
||||
{view.data.map((item) => (
|
||||
<div key={item.id} className="border-b border-spa-stone/10 last:border-0">
|
||||
{view.data.map((item, index) => (
|
||||
<div key={item.id || `menu-root-${index}`} className="border-b border-spa-stone/10 last:border-0">
|
||||
{item.columns && item.columns.length > 0 ? (
|
||||
<button
|
||||
onClick={() => pushView({ type: 'mega', data: item.columns!, title: item.label })}
|
||||
|
||||
Reference in new issue
Block a user