: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
import React from 'react';
import HubspotWrapper from '../Common/HubspotWrapper';
import { pluginPath } from '../../constants/leadinConfig';
import AsyncSelect from '../Common/AsyncSelect';
import { __ } from '@wordpress/i18n';
interface IFormSelectorProps {
export default function FormSelector({
<HubspotWrapper pluginPath={pluginPath}>
<p data-test-id="leadin-form-select">
'Select an existing form or create a new one from a template',
placeholder={__('Search for a form', 'leadin')}
loadOptions={loadOptions}