Skip to content

Commit

Permalink
chore: add tune button
Browse files Browse the repository at this point in the history
  • Loading branch information
juliopavila committed Feb 26, 2024
1 parent ba1ebf5 commit 0973429
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/plugins/safeSnap/components/Config.vue
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ const handleDeleteSafe = (safeToDelete: SafeDetails) => {
/>
</div>
<div class="my-3 ml-4" v-if="!preview">
<BaseButton @click="handleButtonClick">Add a Safe</BaseButton>
<TuneButton @click="handleButtonClick">Add a Safe</TuneButton>
<SafeSnapsSafeSelect
v-if="isButtonClicked"
:safes="input.safes"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ export default {
></textarea>
</div>
<div class="my-3 flex items-center justify-between">
<BaseButton @click="importFromText">Parse JSON</BaseButton>
<TuneButton @click="importFromText">Parse JSON</TuneButton>
<a
class="mb-1 mt-2"
style="text-decoration: underline; font-size: 14px"
Expand Down
8 changes: 4 additions & 4 deletions src/plugins/safeSnap/components/Modal/SingleTransaction.vue
Original file line number Diff line number Diff line change
Expand Up @@ -250,14 +250,14 @@ const buttonStates = computed(() => {

<hr class="my-4 border-skin-border" />
<div class="flex justify-between">
<BaseButton
<TuneButton
v-if="!config.preview"
@click="submitTransaction"
:disabled="buttonStates"
>
Add Transaction
</BaseButton>
<BaseButton
</TuneButton>
<TuneButton
v-if="
!config.preview &&
transactionBatchTypeSelected.includes('connext') &&
Expand All @@ -267,7 +267,7 @@ const buttonStates = computed(() => {
@click="handleSimulation"
>
Simulate
</BaseButton>
</TuneButton>
</div>

<div v-if="showSimulation && transactionBatchTypeSelected === 'connext'">
Expand Down

0 comments on commit 0973429

Please sign in to comment.