This repository was archived by the owner on Apr 5, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/components/pages/User Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
import React , { ReactElement , useState } from "react" ;
2
- import { Alert , Button , Container , Row } from "react-bootstrap" ;
2
+ import { Alert , Button , Container } from "react-bootstrap" ;
3
3
import UserInformationInput , { UserInformationInputInterface } from "./UserInformationInput" ;
4
4
import { useSelector } from "react-redux" ;
5
5
import { RootState } from "../../../background/redux/store" ;
@@ -34,7 +34,7 @@ export default function Profile(): ReactElement {
34
34
35
35
const handleSubmit = async ( inputUser : UserInformationInputInterface ) => {
36
36
console . log ( "[PROFILE] handleSubmit" )
37
- let newUser :UserInformation = {
37
+ let newUser : UserInformation = {
38
38
groups : user . groups ,
39
39
userId : user . userId
40
40
}
@@ -116,7 +116,7 @@ export default function Profile(): ReactElement {
116
116
< Button
117
117
onClick = { changeEditMode }
118
118
>
119
- { ! isEditing && < img src = { edit_svg } alt = { "edit icon" } className = "pr-2" /> }
119
+ { ! isEditing && < img src = { edit_svg } alt = { "edit icon" } className = "pr-2" /> }
120
120
{ isEditing ? "Cancel" : "Edit" }
121
121
</ Button >
122
122
</ div >
You can’t perform that action at this time.
0 commit comments