✨ update search bars
This commit is contained in:
parent
40db915282
commit
4aad59a288
1 changed files with 3 additions and 2 deletions
|
@ -13,7 +13,7 @@ import SketchList from '../IDE/components/SketchList';
|
||||||
import CollectionList from '../IDE/components/CollectionList';
|
import CollectionList from '../IDE/components/CollectionList';
|
||||||
import AssetList from '../IDE/components/AssetList';
|
import AssetList from '../IDE/components/AssetList';
|
||||||
import Content from './MobileViewContent';
|
import Content from './MobileViewContent';
|
||||||
import { SketchSearchbar } from '../IDE/components/Searchbar';
|
import { SketchSearchbar, CollectionSearchbar } from '../IDE/components/Searchbar';
|
||||||
|
|
||||||
const EXAMPLE_USERNAME = 'p5';
|
const EXAMPLE_USERNAME = 'p5';
|
||||||
|
|
||||||
|
@ -77,7 +77,8 @@ const MobileDashboard = ({ params, location }) => {
|
||||||
|
|
||||||
<Content slimheader>
|
<Content slimheader>
|
||||||
<Subheader>
|
<Subheader>
|
||||||
<SketchSearchbar />
|
{panel === Tabs[0] && <SketchSearchbar />}
|
||||||
|
{panel === Tabs[1] && <CollectionSearchbar />}
|
||||||
</Subheader>
|
</Subheader>
|
||||||
{renderPanel(panel, { username, key: pathname })}
|
{renderPanel(panel, { username, key: pathname })}
|
||||||
</Content>
|
</Content>
|
||||||
|
|
Loading…
Reference in a new issue