Skip to content

Commit 4aad59a

Browse files
committed
✨ update search bars
1 parent 40db915 commit 4aad59a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

client/modules/Mobile/MobileDashboardView.jsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import SketchList from '../IDE/components/SketchList';
1313
import CollectionList from '../IDE/components/CollectionList';
1414
import AssetList from '../IDE/components/AssetList';
1515
import Content from './MobileViewContent';
16-
import { SketchSearchbar } from '../IDE/components/Searchbar';
16+
import { SketchSearchbar, CollectionSearchbar } from '../IDE/components/Searchbar';
1717

1818
const EXAMPLE_USERNAME = 'p5';
1919

@@ -77,7 +77,8 @@ const MobileDashboard = ({ params, location }) => {
7777

7878
<Content slimheader>
7979
<Subheader>
80-
<SketchSearchbar />
80+
{panel === Tabs[0] && <SketchSearchbar />}
81+
{panel === Tabs[1] && <CollectionSearchbar />}
8182
</Subheader>
8283
{renderPanel(panel, { username, key: pathname })}
8384
</Content>

0 commit comments

Comments
 (0)