diff --git a/src/components/Sidebar/SafeList.jsx b/src/components/Sidebar/SafeList.jsx
index 94fb5bc8..0f8d14bd 100644
--- a/src/components/Sidebar/SafeList.jsx
+++ b/src/components/Sidebar/SafeList.jsx
@@ -61,6 +61,7 @@ const SafeList = ({ safes, onSafeClick }: SafeListProps) => {
{' '}
ETH
+ PIZDOS))
diff --git a/src/logic/wallets/store/reducer/provider.js b/src/logic/wallets/store/reducer/provider.js
index 23f719e5..9b494ba3 100644
--- a/src/logic/wallets/store/reducer/provider.js
+++ b/src/logic/wallets/store/reducer/provider.js
@@ -7,7 +7,7 @@ export const PROVIDER_REDUCER_ID = 'providers'
export type State = Provider
-export default handleActions(
+export default handleActions(
{
[ADD_PROVIDER]: (state: State, { payload }: ActionType) => makeProvider(payload),
},
diff --git a/src/routes/safe/store/reducer/safe.js b/src/routes/safe/store/reducer/safe.js
index 088ff9a6..bc942637 100644
--- a/src/routes/safe/store/reducer/safe.js
+++ b/src/routes/safe/store/reducer/safe.js
@@ -24,7 +24,7 @@ export const buildSafe = (storedSafe: SafeProps) => {
const addresses = storedSafe.owners.map((owner: OwnerProps) => owner.address)
const owners = buildOwnersFrom(Array.from(names), Array.from(addresses))
const activeTokens = List(storedSafe.activeTokens)
- const balances = storedSafe.balances.map(balance => TokenBalance(balance))
+ const balances = storedSafe.balances.map((balance) => TokenBalance(balance))
const safe: SafeProps = {
...storedSafe,
@@ -67,7 +67,7 @@ export default handleActions(
const safe = action.payload
const safeAddress = safe.address
- return state.update(safeAddress, prevSafe => prevSafe.merge(safe))
+ return state.update(safeAddress, (prevSafe) => prevSafe.merge(safe))
},
[ACTIVATE_TOKEN_FOR_ALL_SAFES]: (state: State, action: ActionType): State => {
const tokenAddress = action.payload
@@ -77,7 +77,7 @@ export default handleActions(
const safeActiveTokens = map.getIn([safeAddress, 'activeTokens'])
const activeTokens = safeActiveTokens.push(tokenAddress)
- map.update(safeAddress, prevSafe => prevSafe.merge({ activeTokens }))
+ map.update(safeAddress, (prevSafe) => prevSafe.merge({ activeTokens }))
})
})
@@ -91,7 +91,7 @@ export default handleActions(
// with initial props and it would overwrite existing ones
if (state.has(safe.address)) {
- return state.update(safe.address, prevSafe => prevSafe.merge(safe))
+ return state.update(safe.address, (prevSafe) => prevSafe.merge(safe))
}
return state.set(safe.address, SafeRecord(safe))
@@ -104,15 +104,15 @@ export default handleActions(
[ADD_SAFE_OWNER]: (state: State, action: ActionType): State => {
const { safeAddress, ownerName, ownerAddress } = action.payload
- return state.update(safeAddress, prevSafe => prevSafe.merge({
+ return state.update(safeAddress, (prevSafe) => prevSafe.merge({
owners: prevSafe.owners.push(makeOwner({ address: ownerAddress, name: ownerName })),
}))
},
[REMOVE_SAFE_OWNER]: (state: State, action: ActionType): State => {
const { safeAddress, ownerAddress } = action.payload
- return state.update(safeAddress, prevSafe => prevSafe.merge({
- owners: prevSafe.owners.filter(o => o.address.toLowerCase() !== ownerAddress.toLowerCase()),
+ return state.update(safeAddress, (prevSafe) => prevSafe.merge({
+ owners: prevSafe.owners.filter((o) => o.address.toLowerCase() !== ownerAddress.toLowerCase()),
}))
},
[REPLACE_SAFE_OWNER]: (state: State, action: ActionType): State => {
@@ -120,9 +120,9 @@ export default handleActions(
safeAddress, oldOwnerAddress, ownerName, ownerAddress,
} = action.payload
- return state.update(safeAddress, prevSafe => prevSafe.merge({
+ return state.update(safeAddress, (prevSafe) => prevSafe.merge({
owners: prevSafe.owners
- .filter(o => o.address.toLowerCase() !== oldOwnerAddress.toLowerCase())
+ .filter((o) => o.address.toLowerCase() !== oldOwnerAddress.toLowerCase())
.push(makeOwner({ address: ownerAddress, name: ownerName })),
}))
},
@@ -131,9 +131,9 @@ export default handleActions(
return state.update(safeAddress, (prevSafe) => {
const ownerToUpdateIndex = prevSafe.owners.findIndex(
- o => o.address.toLowerCase() === ownerAddress.toLowerCase(),
+ (o) => o.address.toLowerCase() === ownerAddress.toLowerCase(),
)
- const updatedOwners = prevSafe.owners.update(ownerToUpdateIndex, owner => owner.set('name', ownerName))
+ const updatedOwners = prevSafe.owners.update(ownerToUpdateIndex, (owner) => owner.set('name', ownerName))
return prevSafe.merge({ owners: updatedOwners })
})
},