File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ export const authApiSlice = apiSlice.injectEndpoints({
25
25
} ) ,
26
26
AddAnnouncementEndpoint : builder . mutation ( {
27
27
query : ( data ) => ( {
28
- url : "/api/Users /AddAnnouncement" ,
28
+ url : "/api/Announcements /AddAnnouncement" ,
29
29
method : "POST" ,
30
30
body : data ,
31
31
} ) ,
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ const UserProfile = () => {
40
40
< p style = { { fontWeight : 'bold' , marginBottom : '4px' } } > Name: { userState . user . firstName } { userState . user . lastName } </ p >
41
41
< p style = { { fontWeight : 'bold' , marginBottom : '4px' } } > Email: { userState . user . email } </ p >
42
42
< p style = { { fontWeight : 'bold' , marginBottom : '4px' } } > Department: IT</ p >
43
- < p style = { { fontWeight : 'bold' , marginBottom : '4px' } } > Position: { userState . user . jobPosition . name } </ p >
43
+ < p style = { { fontWeight : 'bold' , marginBottom : '4px' } } > Position: { userState . user . jobPosition ? .name } </ p >
44
44
</ div >
45
45
</ div >
46
46
< Divider />
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ const UpdateAccount: React.FC = () => {
96
96
</ Form . Item >
97
97
< Form . Item name = "selfDescription" >
98
98
< Input . TextArea
99
- maxLength = { 30 }
99
+ maxLength = { 90 }
100
100
placeholder = "Something about yourself!"
101
101
style = { { resize : 'none' } }
102
102
/>
You can’t perform that action at this time.
0 commit comments