fix: remove debug
This commit is contained in:
parent
4a229059c2
commit
897405b092
|
@ -29,16 +29,13 @@ const LumeDashboard = (props: any) => {
|
||||||
setUniqueNetworkTypes(uniqueTypes);
|
setUniqueNetworkTypes(uniqueTypes);
|
||||||
}, [networks]);
|
}, [networks]);
|
||||||
|
|
||||||
const DefaultTrigger = (props: any) => {
|
const DefaultTrigger = (props: any) => (
|
||||||
console.log(props);
|
|
||||||
return (
|
|
||||||
<LumeDashboardTrigger asChild {...props}>
|
<LumeDashboardTrigger asChild {...props}>
|
||||||
<button
|
<button
|
||||||
className={cn(
|
className={cn(
|
||||||
"bg-primary text-primary-foreground p-2 px-4 text-sm font-semibold font-mono rounded-md",
|
"bg-primary text-primary-foreground p-2 px-4 text-sm font-semibold font-mono rounded-md",
|
||||||
{
|
{
|
||||||
"disabled:pointer-events-none disabled:opacity-50":
|
"disabled:pointer-events-none disabled:opacity-50": props.disabled,
|
||||||
props.disabled,
|
|
||||||
},
|
},
|
||||||
)}
|
)}
|
||||||
{...props}>
|
{...props}>
|
||||||
|
@ -46,7 +43,6 @@ const LumeDashboard = (props: any) => {
|
||||||
</button>
|
</button>
|
||||||
</LumeDashboardTrigger>
|
</LumeDashboardTrigger>
|
||||||
);
|
);
|
||||||
};
|
|
||||||
const GivenTrigger = React.Children.toArray(
|
const GivenTrigger = React.Children.toArray(
|
||||||
children?.children || (children as any) || [],
|
children?.children || (children as any) || [],
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue