Skip to content

Commit

Permalink
chore: Hide filters on "my subscriptions" page when not connected
Browse files Browse the repository at this point in the history
  • Loading branch information
lutangar committed Nov 6, 2020
1 parent 95354b7 commit 4925860
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/app/profiles/App/Pages/Subscriptions/Subscriptions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,13 @@ const Subscriptions = ({
return (
<>
<ProfileTabs connected={connected} />
<Filters
onChange={handleFiltersChange}
loading={!!categoriesLoading}
filters={categories}
/>
{connected === true && (
<Filters
onChange={handleFiltersChange}
loading={!!categoriesLoading}
filters={categories}
/>
)}
<TwoColumns>
<MainCol>
{connected === false ? (
Expand Down

0 comments on commit 4925860

Please sign in to comment.