Updated main page
This commit is contained in:
parent
7b03b48aeb
commit
8761e6351f
1 changed files with 10 additions and 7 deletions
|
|
@ -375,11 +375,18 @@ export default () => {
|
|||
navigate('/')
|
||||
}
|
||||
|
||||
const updateHeadName = async () => {
|
||||
const response = await getApi('get-head')
|
||||
|
||||
setEmployeeName(response!)
|
||||
}
|
||||
|
||||
// const gotoProfile = () => {
|
||||
// navigate('/profile')
|
||||
// }
|
||||
|
||||
const closeConfig = () => {
|
||||
const closeConfig = async () => {
|
||||
await updateHeadName()
|
||||
setConfigNotification(false)
|
||||
setOpenConfig(false)
|
||||
|
||||
|
|
@ -808,17 +815,13 @@ export default () => {
|
|||
<Padding top={1} bottom={1} left={4} right={4}>
|
||||
<Column>
|
||||
<Row gap={4}>
|
||||
<FaSolidThumbsUp size={75} />
|
||||
<Box curved thickness={3} color="#cdfbe1f0" padding="1rem">
|
||||
<span class="approval">Approved</span>
|
||||
<span class="approval">Account Updated</span>
|
||||
</Box>
|
||||
</Row>
|
||||
<Row padding="2rem 0 0 0">
|
||||
<h2>{approvedApplication()}</h2>
|
||||
</Row>
|
||||
|
||||
<Row>
|
||||
<span class="close-text">Click anywhere to proceed</span>
|
||||
<span class="close-text">Click anywhere to close</span>
|
||||
</Row>
|
||||
</Column>
|
||||
</Padding>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue