{/* TODO: constrain this to the exact height of the button */}
@@ -73,40 +61,43 @@ export const Button: ParentComponent
= (props) => {
);
};
-interface ButtonLinkProps
- extends JSX.ButtonHTMLAttributes,
- StyleProps {
- href: string;
- target?: string;
- rel?: string;
-}
-
export const ButtonLink: ParentComponent = (props) => {
- const slot = children(() => props.children);
const [local, attrs] = splitProps(props, [
"children",
"intent",
"layout",
- "class",
"href",
"target",
"rel"
]);
-
return (
- {slot()}
+ {local.children}
);
};
diff --git a/src/components/layout/Misc.tsx b/src/components/layout/Misc.tsx
index e498d28..92c3b8c 100644
--- a/src/components/layout/Misc.tsx
+++ b/src/components/layout/Misc.tsx
@@ -88,7 +88,7 @@ export const Collapser: ParentComponent<{
activityLight?: "on" | "off";
}> = (props) => {
return (
-
+
diff --git a/src/routes/Receive.tsx b/src/routes/Receive.tsx
index ed0e3f0..f682b69 100644
--- a/src/routes/Receive.tsx
+++ b/src/routes/Receive.tsx
@@ -40,7 +40,8 @@ import {
SimpleDialog,
StyledRadioGroup,
SuccessModal,
- TagEditor
+ TagEditor,
+ VStack
} from "~/components";
import { useI18n } from "~/i18n/context";
import { matchError } from "~/logic/errorDispatch";
@@ -390,15 +391,16 @@ export default function Receive() {
-
+
+
+
diff --git a/src/routes/Send.tsx b/src/routes/Send.tsx
index 5afdca7..72d144c 100644
--- a/src/routes/Send.tsx
+++ b/src/routes/Send.tsx
@@ -715,17 +715,18 @@ export default function Send() {
-
+
+
+
diff --git a/src/routes/Swap.tsx b/src/routes/Swap.tsx
index 9f0174e..1ca8045 100644
--- a/src/routes/Swap.tsx
+++ b/src/routes/Swap.tsx
@@ -443,15 +443,16 @@ export default function Swap() {
-
+
+
+
diff --git a/vite.config.ts b/vite.config.ts
index 761fc17..b0ae087 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -56,7 +56,6 @@ export default defineConfig({
// Don't want vite to bundle these late during dev causing reload
include: [
"qr-scanner",
- "class-variance-authority",
"@kobalte/core",
"@solid-primitives/upload",
"i18next",