Skip to content

Commit

Permalink
add libp2p error handler. switch to parachain
Browse files Browse the repository at this point in the history
  • Loading branch information
vol4tim committed Jun 19, 2024
1 parent 30dccff commit 4fff882
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/views/telemetry/Telemetry.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
<template>

Check warning on line 1 in src/views/telemetry/Telemetry.vue

View workflow job for this annotation

GitHub Actions / deploy

Component name "Telemetry" should always be multi-word
<Libp2p v-if="type === 'libp2p'" :config="config" :isKey @error="error" />
<Libp2p
v-if="type === 'libp2p'"
:config="config"
:isKey
@error="handlerError"
/>
<Launch v-else :config="config" :isKey />
</template>

Expand Down Expand Up @@ -62,7 +67,10 @@ export default {
return {
type,
isKey,
config
config,
handlerError: () => {
store.commit("rws/setConnection", "parachain");
}
};
}
};
Expand Down

0 comments on commit 4fff882

Please sign in to comment.