mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-02-12 19:22:28 +00:00
feat: use function expression for component
This commit is contained in:
parent
40d2b36a20
commit
d4d94dfc4c
1 changed files with 3 additions and 3 deletions
|
@ -9,12 +9,12 @@ export interface UserConfirmUndoFriendshipModalProps {
|
|||
onClose: () => void;
|
||||
}
|
||||
|
||||
export const UserConfirmUndoFriendshipModal = ({
|
||||
export function UserConfirmUndoFriendshipModal({
|
||||
visible,
|
||||
displayName,
|
||||
onConfirm,
|
||||
onClose,
|
||||
}: UserConfirmUndoFriendshipModalProps) => {
|
||||
}: UserConfirmUndoFriendshipModalProps) {
|
||||
const { t } = useTranslation("user_profile");
|
||||
|
||||
return (
|
||||
|
@ -37,4 +37,4 @@ export const UserConfirmUndoFriendshipModal = ({
|
|||
</div>
|
||||
</Modal>
|
||||
);
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue