add id for adduser

This commit is contained in:
Sina Blattmann 2023-04-06 10:50:16 +02:00
parent 8d522b3c91
commit 85d982e62f
1 changed files with 6 additions and 2 deletions

View File

@ -22,8 +22,12 @@ const AddUser = () => {
return ( return (
<> <>
<InnovenergyButton sx={{ my: 1 }} onClick={() => setOpen(true)}> <InnovenergyButton
<FormattedMessage id="addNewChild" defaultMessage="Add user" /> id="add-user-button"
sx={{ my: 1 }}
onClick={() => setOpen(true)}
>
<FormattedMessage id="addUser" defaultMessage="Add user" />
</InnovenergyButton> </InnovenergyButton>
<Dialog <Dialog
onClose={() => setOpen(false)} onClose={() => setOpen(false)}