Skip to content

Commit

Permalink
Merge pull request #428 from consensusnetworks/bug/ts-errors
Browse files Browse the repository at this point in the history
Fixing ts issues for deployment
  • Loading branch information
shanejearley authored Sep 28, 2023
2 parents d09f128 + 71a093c commit cb40625
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 7 deletions.
2 changes: 1 addition & 1 deletion apps/web/src/composables/walletConnectV2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const { walletConnectProjectId } = useEnvironment()
const { getEthersBalance } = useEthers()

let cleanupFunctions: Array<any> = [] // TODO: Potentially fix type here.
const accounts = ref([])
const accounts = ref<Array<string>>([])
const ethereumProvider = ref()
const pairings = ref([])
const session = ref()
Expand Down
4 changes: 2 additions & 2 deletions apps/web/src/pages/operators/Operator.vue
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ onMounted(async () => {
}
})
const {initializeComposable, nonregisteredOperators, registeredOperators, registerOperatorWithCasimir, loadingInitializeOperators } = useOperators()
const {initializeComposable, nonregisteredOperators, registeredOperators, registerOperatorWithCasimir, loadingInitializeOperators, loadingAddOperator } = useOperators()
watch(user, async () => {
if (user.value) {
Expand Down Expand Up @@ -529,7 +529,7 @@ watch([loadingSessionLogin || loadingInitializeOperators], () =>{
class="export_button"
:disabled="!allInputsValid"
>
<span v-if="loadingRegisteredOperators">Submitting</span>
<span v-if="loadingAddOperator">Submitting</span>
<span v-else>Submit</span>
</button>
</div>
Expand Down
35 changes: 31 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit cb40625

Please sign in to comment.