Skip to content

Commit

Permalink
Feature/icon (#83)
Browse files Browse the repository at this point in the history
* feat: 🎸 update icon

* chore: 🤖 version
  • Loading branch information
divisey committed Aug 25, 2023
1 parent 28b5e5c commit aaad086
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .changeset/sixty-pears-glow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@foxone/mixin-passport": patch
"@foxone/uikit": patch
---

minor update
10 changes: 10 additions & 0 deletions packages/passport/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,17 @@ function install(app: App, passportOptions: PassportOptions = {}) {
state.mvm.watchAsset(params);
}
},
disconnect: () => {
if (isMVM(state.channel)) {
state.mvm.disconnect();
}

state.token = "";
state.mixin_token = "";
state.channel = "" as any;
},
};

const properties = app.config.globalProperties;

properties.$passport = passport;
Expand Down
4 changes: 2 additions & 2 deletions packages/uikit/src/components/FModal/FModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ export const FModal = defineComponent({
class="f-modal__back"
onClick={(e) => emit("back")}
>
<VIcon>$back</VIcon>
<VIcon size="18">$back</VIcon>
</FButton>
)}
{!meta.value.hasClose && (
Expand All @@ -87,7 +87,7 @@ export const FModal = defineComponent({
emit("update:modelValue", false);
}}
>
<VIcon size="22">$close</VIcon>
<VIcon size="18">$close</VIcon>
</FButton>
)}
{meta.value.hasTitle && (
Expand Down

0 comments on commit aaad086

Please sign in to comment.