Skip to content

Commit

Permalink
fix(24361): remove deprecated error
Browse files Browse the repository at this point in the history
  • Loading branch information
vanch3d committed Jul 18, 2024
1 parent 1158afa commit a8739f8
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ const AdapterTagSelect: FC<WidgetProps<unknown, RJSFSchema, AdapterContext>> = (
const { t } = useTranslation('components')
const { formContext } = props
const { isDiscoverable, adapterType, adapterId } = formContext || {}
if (!adapterType || !adapterId) throw new Error('The adapter has not been added to the form context')
const { data, isLoading, isError } = useGetDataPoints(Boolean(isDiscoverable), adapterId)
const chakraProps = getChakra({ uiSchema: props.uiSchema })

Expand Down

0 comments on commit a8739f8

Please sign in to comment.