diff --git a/webapp/src/components/Register.tsx b/webapp/src/components/Register.tsx index 24d82a0..4f649d6 100644 --- a/webapp/src/components/Register.tsx +++ b/webapp/src/components/Register.tsx @@ -3,6 +3,7 @@ import Button from '@mui/material/Button'; import TextField from '@mui/material/TextField'; import type { AlertColor } from '@mui/material/Alert'; import {useNavigate} from 'react-router-dom'; +import { addUser } from '../api/api'; type RegisterProps = { OnUserListChange: () => void;