Skip to content

Commit 81bebb7

Browse files
committed
fix: remove rich address in form
making all addresses rich was a breaking change classic curate lists using addresses will fail (because gtcr-encoder won't understand it) also it was just a bad idea in an upcoming update rich-address will be a separate (non-classic compatible) data type for now, just forbid the users from submitting rich addresses
1 parent 7ef9aa5 commit 81bebb7

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/components/input-selector.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import ipfsPublish from '../utils/ipfs-publish.js'
1010
import { sanitize } from '../utils/string.js'
1111
import TwitterUserInput from './twitter-input.js'
1212
import AddressInput from './address-input.js'
13-
import RichAddressInput from './rich-address-input.js'
1413

1514
const StyledUpload = styled(Upload)`
1615
& > .ant-upload.ant-upload-select-picture-card {
@@ -123,15 +122,6 @@ const InputSelector = ({
123122
case ItemTypes.LINK:
124123
return <CustomInput type={type} name={name} hasFeedback {...props} />
125124
case ItemTypes.ADDRESS:
126-
return (
127-
<RichAddressInput
128-
type={type}
129-
name={name}
130-
hasFeedback
131-
setFieldValue={setFieldValue}
132-
{...props}
133-
/>
134-
)
135125
case ItemTypes.GTCR_ADDRESS:
136126
return <AddressInput type={type} name={name} hasFeedback {...props} />
137127
case ItemTypes.BOOLEAN:

0 commit comments

Comments
 (0)