Skip to content

Commit c16419c

Browse files
committed
Support macros in App.svelte
1 parent a0f6bd0 commit c16419c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

packages/ui/src/cairo_alpha/App.svelte

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,10 @@
6161
let allOpts: { [k in Kind]?: Required<KindedOptions[k]> } = {};
6262
let errors: { [k in Kind]?: OptionsErrorMessages } = {};
6363
64-
let contract: Contract = new ContractBuilder(initialOpts.name ?? 'MyToken');
64+
let contract: Contract = new ContractBuilder(
65+
initialOpts.name ?? 'MyToken',
66+
{ withComponents: true }
67+
);
6568
6669
$: opts = allOpts[tab];
6770

0 commit comments

Comments
 (0)