Skip to content

Commit 4fa6458

Browse files
committed
fix: fix build
1 parent 10fcd37 commit 4fa6458

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/components/ActionButton.astro

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
// support legacy articles because they import from this path
3+
import ActionButtonSource from "./utils/ActionButton.astro";
4+
interface Props {
5+
to: string;
6+
}
7+
const props = Astro.props;
8+
---
9+
10+
<ActionButtonSource {...props}>
11+
<slot />
12+
</ActionButtonSource>

0 commit comments

Comments
 (0)