This repository was archived by the owner on Apr 5, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-11
lines changed
src/components/pages/User Expand file tree Collapse file tree 2 files changed +6
-11
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ export default function Profile(): ReactElement {
89
89
90
90
function DisplayProfile ( ) : ReactElement {
91
91
return (
92
- < Container className = "profile-information-display p-0" >
92
+ < div className = "profile-information-display p-0 w-100 " >
93
93
< h2 className = "h3 pb-3" >
94
94
{ user . username }
95
95
</ h2 >
@@ -102,14 +102,14 @@ export default function Profile(): ReactElement {
102
102
} ) }
103
103
</ dd >
104
104
</ dl >
105
- </ Container >
105
+ </ div >
106
106
)
107
107
}
108
108
109
109
return (
110
110
< Container className = "page-content" >
111
- < Container fluid className = " mt-1 mb-3" >
112
- < Row className = "title-action" >
111
+ < div className = "px-1 w-100 mt-1 mb-3 " >
112
+ < div className = "w-100 title-action" >
113
113
< h1 className = "mr-1 h4" >
114
114
My Profile
115
115
</ h1 >
@@ -119,8 +119,8 @@ export default function Profile(): ReactElement {
119
119
{ ! isEditing && < img src = { edit_svg } alt = { "edit icon" } className = "pr-2" /> }
120
120
{ isEditing ? "Cancel" : "Edit" }
121
121
</ Button >
122
- </ Row >
123
- </ Container >
122
+ </ div >
123
+ </ div >
124
124
{ isEditing ? < EditProfile /> : < DisplayProfile /> }
125
125
</ Container >
126
126
) ;
Original file line number Diff line number Diff line change @@ -13,11 +13,6 @@ export default function Registration(): ReactElement {
13
13
const [ alertVariant , setAlertColor ] = useState < "primary" | "secondary" | "success" | "danger" | "warning" | "info" | "light" | "dark" > ( "success" ) ;
14
14
const [ alertVisibility , setAlertVisibility ] = useState < boolean > ( false ) ;
15
15
16
- // const [newUser, setNewUser] = useState<UserInformationInterface>({
17
- // username: "",
18
- // password: "",
19
- // passwordConfirmation: ""
20
- // })
21
16
22
17
const registrationContainer = document . getElementById ( "registrationContainer" )
23
18
const logoSubmit = document . getElementById ( "logoSubmit" )
You can’t perform that action at this time.
0 commit comments