This repository was archived by the owner on Apr 5, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +4
-1
lines changed
assets/images/icons/material.io Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -21,4 +21,4 @@ export const constants = process.env.NODE_ENV === "development" ? dev : prod;
21
21
22
22
export const MIN_PASSWORD_LENGTH = 8 ;
23
23
export const MAX_PASSWORD_LENGTH = 20 ;
24
- export const DEFAULT_ALERT_DURATION = 3500 ;
24
+ export const DEFAULT_ALERT_DURATION = 3500 ;
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import {RootState} from "../../../background/redux/store";
6
6
import { DEFAULT_ALERT_DURATION , MIN_PASSWORD_LENGTH } from "../../../background/constants" ;
7
7
import { changeUserInformation , UserInformation } from "../../../background/api/userInformation" ;
8
8
import { notMinStrLength } from "../../../background/methods/checkInput" ;
9
+ import edit_svg from "../../../assets/images/icons/material.io/edit_white_24dp.svg" ;
9
10
10
11
11
12
export default function Profile ( ) : ReactElement {
@@ -136,6 +137,7 @@ export default function Profile(): ReactElement {
136
137
< Button
137
138
onClick = { changeEditMode }
138
139
>
140
+ { ! isEditing && < img src = { edit_svg } alt = { "edit icon" } className = "pr-2" /> }
139
141
{ isEditing ? "Cancel" : "Edit" }
140
142
</ Button >
141
143
</ Row >
You can’t perform that action at this time.
0 commit comments