Skip to content

Commit

Permalink
changed parentheses to curly brackets
Browse files Browse the repository at this point in the history
  • Loading branch information
lilbonekit committed Sep 23, 2024
1 parent 10e2136 commit b147ded
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion forms/CommonAddressesForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ import { Wallet } from 'ethers'
import { reactive } from 'vue'
const generateRandomAddress = (): string => Wallet.createRandom().address
const updateRandomAddress = () => (form.randomAddress = generateRandomAddress())
const updateRandomAddress = () => {
form.randomAddress = generateRandomAddress()
}
const form = reactive({
zeroAddress: '0x0000000000000000000000000000000000000000',
Expand Down
4 changes: 3 additions & 1 deletion forms/ConstantsForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ import { reactive } from 'vue'
import { randomBytes, hexlify } from 'ethers'
import { ZERO_BYTES_32 } from '@/constants'
const updateRandomBytes = () => (form.randomBytes32 = generateRandomBytes())
const updateRandomBytes = () => {
form.randomBytes32 = generateRandomBytes()
}
const generateRandomBytes = (): string => hexlify(randomBytes(32))
const form = reactive({
Expand Down

0 comments on commit b147ded

Please sign in to comment.