src/client/routes/profile/Profile.tsx
Function Profile
has 72 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const Profile: React.FunctionComponent = (): JSX.Element => {
const { update: setActionButton } = useContext(ActionButtonContext);
const { data, loading, error } = useMyProfileQuery();
const [loaded, setLoaded] = useState(false);
const [input, setInput] = useImmer<UserInput>({});
- Create a ticketCreate a ticket