Skip to content

Commit 4554ba4

Browse files
committed
Fix toast types
1 parent 7a2ced9 commit 4554ba4

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

template/package-lock.json

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

template/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111
"vitest": "^1.4.0"
1212
},
1313
"dependencies": {
14-
"@yaakapp/api": "^0.1.17"
14+
"@yaakapp/api": "^0.2.9"
1515
}
1616
}

template/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export const plugin: PluginDefinition = {
88
icon: "cake",
99
async onSelect(ctx, args) {
1010
ctx.toast.show({
11-
variant: "success",
11+
color: "success",
1212
message: `You clicked the request ${args.httpRequest.id}`
1313
});
1414
},

0 commit comments

Comments
 (0)