Skip to content

Commit

Permalink
fix: TypeAssertionExpression breaks Storybook builds
Browse files Browse the repository at this point in the history
  • Loading branch information
acid-chicken committed Feb 14, 2024
1 parent b828210 commit 19e3753
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/frontend/src/components/MkCaptcha.vue
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ function callback(response?: string) {
function onReceivedMessage(message: MessageEvent) {
if (message.data.token) {
if (props.instanceUrl && new URL(message.origin).host === new URL(props.instanceUrl).host) {
callback(<string>message.data.token);
callback(message.data.token);
}
}
}
Expand Down

0 comments on commit 19e3753

Please sign in to comment.