Skip to content

Commit

Permalink
fix import error
Browse files Browse the repository at this point in the history
Signed-off-by: ryanwolhuter <[email protected]>
  • Loading branch information
ryanwolhuter committed Oct 6, 2023
1 parent 4ef7ed9 commit bce625b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/plugins/oSnap/components/HandleOutcomeUma.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ import { formatUnits } from '@ethersproject/units';
import { getInstance } from '@snapshot-labs/lock/plugins/vue3';
import networks from '@snapshot-labs/snapshot.js/src/networks.json';
import { sleep } from '@snapshot-labs/snapshot.js/src/utils';
import type { Network, Transaction } from '../../types';
import type { Network, Transaction } from '../types';
import {
approveBond,
executeProposal,
getExecutionDetails,
submitProposal
} from '../../utils';
} from '../utils';
declare global {
interface Window {
Expand Down
6 changes: 0 additions & 6 deletions src/plugins/oSnap/components/Input/MethodParameter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ function onChange(value: string) {
<UiSelect
v-if="inputType === 'boolean'"
:model-value="value"
:disabled="isReadOnly"
@update:modelValue="onChange($event)"
>
<template #label>{{ label }}</template>
Expand All @@ -100,7 +99,6 @@ function onChange(value: string) {

<SafeSnapInputAddress
v-if="inputType === 'address'"
:disabled="isReadOnly"
:input-props="{ required: true }"
:label="label"
:model-value="value"
Expand All @@ -109,7 +107,6 @@ function onChange(value: string) {
<UiInput
v-if="inputType === 'array'"
:placeholder="arrayPlaceholder"
:disabled="isReadOnly"
:error="!isInputValid && `Invalid ${parameter.baseType}`"
:model-value="value"
@update:modelValue="onChange($event)"
Expand All @@ -119,7 +116,6 @@ function onChange(value: string) {
<UiInput
v-if="inputType === 'number'"
placeholder="123456"
:disabled="isReadOnly"
:error="!isInputValid && `Invalid ${parameter.baseType}`"
:model-value="value"
@update:modelValue="onChange($event)"
Expand All @@ -130,7 +126,6 @@ function onChange(value: string) {
v-if="inputType === 'bytes'"
placeholder="0x123abc"
:error="!isInputValid && `Invalid ${parameter.baseType}`"
:disabled="isReadOnly"
:model-value="value"
@update:modelValue="onChange($event)"
>
Expand All @@ -139,7 +134,6 @@ function onChange(value: string) {
<UiInput
v-if="inputType === 'text'"
placeholder="a string of text"
:disabled="isReadOnly"
:model-value="value"
@update:modelValue="onChange($event)"
>
Expand Down

0 comments on commit bce625b

Please sign in to comment.