Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Commit

Permalink
fix loading in panel-profile
Browse files Browse the repository at this point in the history
  • Loading branch information
billowdev committed May 26, 2023
1 parent 4675973 commit b034d88
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/pages/panel/profile/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -198,16 +198,16 @@ function UserPanelProfile({

const [progress, setProgress] = React.useState(10);

if (loading) {
return <Box style={{
display: 'flex',
justifyContent: 'center',
alignItems: 'center',
height: '100%',
}}>
<CircularProgressWithLabel value={progress} /> กำลังโหลด
</Box>
}
// if (loading) {
// return <Box style={{
// display: 'flex',
// justifyContent: 'center',
// alignItems: 'center',
// height: '100%',
// }}>
// <CircularProgressWithLabel value={progress} /> กำลังโหลด
// </Box>
// }

const showForm = ({
values,
Expand Down

0 comments on commit b034d88

Please sign in to comment.