import { useIdentity } from "../../service/identity" ; import RequestAliasModal from "./RequestAliasModal" ; type Props = { show : boolean ; setShow : ( show : boolean ) => void ; } ; const SetAliasModal = ( { show , setShow } ) => { const { setAlias , userDetails } = useIdentity ( ) ; return ( < RequestAliasModal onOk = { setAlias } show = { show } setShow = { setShow } initialValue = { userDetails ?. alias } / > ) ; } ; export default SetAliasModal ;