Skip to content

Commit

Permalink
Avoid warning for having value and defaultValue in OpenSequenceDialog
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed Oct 23, 2021
1 parent 6e0da15 commit 1946bbb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions products/jbrowse-desktop/src/OpenSequenceDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,6 @@ const OpenSequenceDialog = ({
<TextField
id="assembly-name"
inputProps={{ 'data-testid': 'assembly-name' }}
defaultValue=""
label="Assembly name"
helperText="The assembly name e.g. hg38"
variant="outlined"
Expand All @@ -242,7 +241,6 @@ const OpenSequenceDialog = ({
label="Assembly display name"
helperText='A human readable display name for the assembly e.g. "Homo sapiens (hg38)"'
variant="outlined"
defaultValue=""
value={assemblyDisplayName}
onChange={event => setAssemblyDisplayName(event.target.value)}
/>
Expand Down

0 comments on commit 1946bbb

Please sign in to comment.