linkEvent,
RefObject,
} from "inferno";
-import { i18n } from "../../i18next";
+import { I18NextService } from "../../services";
import { Icon, Spinner } from "./icon";
interface SearchableSelectProps {
ref={this.toggleButtonRef}
>
{loading
- ? `${i18n.t("loading")}${loadingEllipses}`
+ ? `${I18NextService.i18n.t("loading")}${loadingEllipses}`
: options[selectedIndex].label}
</button>
<div
ref={this.searchInputRef}
onInput={linkEvent(this, handleSearch)}
value={searchText}
- placeholder={`${i18n.t("search")}...`}
+ placeholder={`${I18NextService.i18n.t("search")}...`}
/>
</div>
{!loading &&