diff --git a/apps/admin-ui/src/user/SearchUser.tsx b/apps/admin-ui/src/user/SearchUser.tsx deleted file mode 100644 index 201f35bd9d..0000000000 --- a/apps/admin-ui/src/user/SearchUser.tsx +++ /dev/null @@ -1,59 +0,0 @@ -import { useTranslation } from "react-i18next"; -import { - Button, - ButtonVariant, - EmptyState, - EmptyStateBody, - Form, - InputGroup, - Title, -} from "@patternfly/react-core"; -import { SearchIcon } from "@patternfly/react-icons"; -import { useForm } from "react-hook-form"; -import { useRouteMatch } from "react-router-dom"; -import { useNavigate } from "react-router-dom-v5-compat"; - -import { KeycloakTextInput } from "../components/keycloak-text-input/KeycloakTextInput"; - -type SearchUserProps = { - onSearch: (search: string) => void; -}; - -export const SearchUser = ({ onSearch }: SearchUserProps) => { - const { t } = useTranslation("users"); - const { register, handleSubmit } = useForm<{ search: string }>(); - const { url } = useRouteMatch(); - const navigate = useNavigate(); - - const goToCreate = () => navigate(`${url}/add-user`); - - return ( - - - {t("startBySearchingAUser")} - - -
onSearch(form.search))}> - - - - -
-
- -
- ); -};