Skip to content

Commit

Permalink
fix: hide learn more when loading
Browse files Browse the repository at this point in the history
  • Loading branch information
wwwenjie committed May 4, 2021
1 parent 8468323 commit 33454ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/organisms/Home/Post.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const Post: FC = () => {
))}
</div>
<div className={classNames('mt-4', { hidden: loading })}>{t('requestCacheInfo')}</div>
<div>
<div className={classNames({ hidden: loading })}>
<Trans i18nKey="learnMore" components={{ docs: <Link href="https://swr.vercel.app" /> }} />
</div>
<Button className="my-4" onClick={handleBackClick}>
Expand Down

0 comments on commit 33454ba

Please sign in to comment.