Format *.ts, *.js, *.css, *.html, *.json and *.svelte

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
This commit is contained in:
Rūdolfs Ošiņš
2022-08-31 17:47:07 +02:00
parent 687174a8e0
commit b3cec1f314
148 changed files with 4040 additions and 2555 deletions
+15 -8
View File
@@ -20,8 +20,12 @@
});
const dispatch = createEventDispatcher();
const onClickConnect = () => { state.connectMetamask(config); };
const onClose = () => { dispatch("close"); };
const onClickConnect = () => {
state.connectMetamask(config);
};
const onClose = () => {
dispatch("close");
};
</script>
<style>
@@ -52,8 +56,10 @@
<div slot="subtitle">
<div class="text-small">
Scan the QR code with <strong>WalletConnect</strong> or use
<strong>Metamask</strong>.
Scan the QR code with <strong>WalletConnect</strong>
or use
<strong>Metamask</strong>
.
</div>
</div>
@@ -66,12 +72,13 @@
</div>
<div slot="actions">
<button class="secondary small text-small" on:click={onClickConnect} disabled={!config.metamask.signer}>
<button
class="secondary small text-small"
on:click={onClickConnect}
disabled={!config.metamask.signer}>
Connect with Metamask
</button>
<button class="text small text-small" on:click={onClose}>
Close
</button>
<button class="text small text-small" on:click={onClose}>Close</button>
</div>
</Modal>
</div>