This repository was archived by the owner on Nov 10, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 357
(Fix) Duplicated address validation #1699
Merged
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
d824220
use createStyles/makeStyles
fernandomg 2848ba7
simplify `addressBookQueryParamsSelector`
fernandomg 52315cd
avoid using `createSelector`
fernandomg 938315b
refactor `uniqueAddress` curried function and strategy to validate
fernandomg ab62974
update types and clean up code
fernandomg 023c782
Merge branch 'development' into fix/1673-validate-address-duplicates
fernandomg d470b2f
fix `uniqueAddress` validator tests
fernandomg 7c62ca3
Merge branch 'development' into fix/1673-validate-address-duplicates
fernandomg e3daf66
Merge branch 'development' into fix/1673-validate-address-duplicates
fernandomg e8d79b4
Merge branch 'development' into fix/1673-validate-address-duplicates
fernandomg 5dce50d
Merge branch 'development' into fix/1673-validate-address-duplicates
563260a
use arrow function
fernandomg File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
52 changes: 28 additions & 24 deletions
52
src/routes/safe/components/AddressBook/CreateEditEntryModal/style.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,26 +1,30 @@ | ||
| import { createStyles, makeStyles } from '@material-ui/core/styles' | ||
|
|
||
| import { lg, md } from 'src/theme/variables' | ||
|
|
||
| export const styles = () => ({ | ||
| heading: { | ||
| padding: lg, | ||
| justifyContent: 'space-between', | ||
| boxSizing: 'border-box', | ||
| }, | ||
| manage: { | ||
| fontSize: lg, | ||
| }, | ||
| container: { | ||
| padding: `${md} ${lg}`, | ||
| }, | ||
| close: { | ||
| height: '35px', | ||
| width: '35px', | ||
| }, | ||
| buttonRow: { | ||
| height: '84px', | ||
| justifyContent: 'center', | ||
| }, | ||
| smallerModalWindow: { | ||
| height: 'auto', | ||
| }, | ||
| }) | ||
| export const useStyles = makeStyles( | ||
| createStyles({ | ||
| heading: { | ||
| padding: lg, | ||
| justifyContent: 'space-between', | ||
| boxSizing: 'border-box', | ||
| }, | ||
| manage: { | ||
| fontSize: lg, | ||
| }, | ||
| container: { | ||
| padding: `${md} ${lg}`, | ||
| }, | ||
| close: { | ||
| height: '35px', | ||
| width: '35px', | ||
| }, | ||
| buttonRow: { | ||
| height: '84px', | ||
| justifyContent: 'center', | ||
| }, | ||
| smallerModalWindow: { | ||
| height: 'auto', | ||
| }, | ||
| }), | ||
| ) |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.