Skip to content

Commit

Permalink
Replace deprecated prop with
Browse files Browse the repository at this point in the history
  • Loading branch information
acelaya committed Nov 24, 2023
1 parent 9b3381a commit 23cd874
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ export default function BookSelector({
<Input
aria-label="VitalSource URL or ISBN"
data-testid="vitalsource-input"
hasError={!!error}
feedback={error ? 'error' : undefined}
elementRef={inputRef}
name="vitalSourceURL"
onChange={() => onUpdateURL(false /* confirmSelectedBook */)}
Expand Down
2 changes: 1 addition & 1 deletion lms/static/scripts/frontend_apps/components/URLPicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export default function URLPicker({
aria-label="Enter URL to web page or PDF"
classes="grow"
defaultValue={defaultURL}
hasError={!!error}
feedback={error ? 'error' : undefined}
elementRef={input}
name="url"
placeholder="e.g. https://example.com/article.pdf"
Expand Down

0 comments on commit 23cd874

Please sign in to comment.