mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Add top bar loading indicator to the library
This commit is contained in:
parent
8d8dd3d28d
commit
714628587a
2 changed files with 5223 additions and 210 deletions
|
|
@ -39,6 +39,8 @@ import { SetLabelsModal } from '../article/SetLabelsModal'
|
|||
import { Label } from '../../../lib/networking/fragments/labelFragment'
|
||||
import { isVipUser } from '../../../lib/featureFlag'
|
||||
import { EmptyLibrary } from './EmptyLibrary'
|
||||
import TopBarProgress from "react-topbar-progress-indicator";
|
||||
|
||||
|
||||
export type LayoutType = 'LIST_LAYOUT' | 'GRID_LAYOUT'
|
||||
|
||||
|
|
@ -533,6 +535,7 @@ function HomeFeedGrid(props: HomeFeedContentProps): JSX.Element {
|
|||
}}
|
||||
>
|
||||
<Toaster />
|
||||
{(props.isValidating && <TopBarProgress />)}
|
||||
<HStack alignment="center" distribution="start" css={{ width: '100%' }}>
|
||||
<StyledText
|
||||
style="subHeadline"
|
||||
|
|
|
|||
Loading…
Reference in a new issue