Skip to content
This repository was archived by the owner on Apr 5, 2024. It is now read-only.

Commit 36c2bc2

Browse files
committed
Fixed warning
1 parent 4ac7213 commit 36c2bc2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/pages/User/Profile.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React, {ReactElement, useState} from "react";
2-
import {Alert, Button, Container, Row} from "react-bootstrap";
2+
import {Alert, Button, Container} from "react-bootstrap";
33
import UserInformationInput, {UserInformationInputInterface} from "./UserInformationInput";
44
import {useSelector} from "react-redux";
55
import {RootState} from "../../../background/redux/store";
@@ -34,7 +34,7 @@ export default function Profile(): ReactElement {
3434

3535
const handleSubmit = async (inputUser: UserInformationInputInterface) => {
3636
console.log("[PROFILE] handleSubmit")
37-
let newUser:UserInformation = {
37+
let newUser: UserInformation = {
3838
groups: user.groups,
3939
userId: user.userId
4040
}
@@ -116,7 +116,7 @@ export default function Profile(): ReactElement {
116116
<Button
117117
onClick={changeEditMode}
118118
>
119-
{!isEditing && <img src={edit_svg} alt={"edit icon"} className="pr-2" />}
119+
{!isEditing && <img src={edit_svg} alt={"edit icon"} className="pr-2"/>}
120120
{isEditing ? "Cancel" : "Edit"}
121121
</Button>
122122
</div>

0 commit comments

Comments
 (0)