Skip to content

Commit

Permalink
fix: refresh data
Browse files Browse the repository at this point in the history
  • Loading branch information
xsteadybcgo committed Sep 22, 2021
1 parent 6aa0f94 commit 66c76ad
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/pages/Projects/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,10 @@ const Projects: FC<{}> = () => {
</div>
<button
className="project-refresh-btn"
onClick={() => setTimestamp(Date.now())}
onClick={() => {
setTimestamp(Date.now())
updatePageData()
}}
>
<Tooltip title={t('tip.GetLastestData')} bg={false}>
{t('Details.Refresh')}
Expand Down

0 comments on commit 66c76ad

Please sign in to comment.