made public gallery the first tab (#483)

This commit is contained in:
Srinath Narayanan
2021-03-05 09:03:48 -08:00
committed by GitHub
parent c1141406ff
commit 69975cd0e8
5 changed files with 104 additions and 105 deletions

View File

@@ -26,7 +26,7 @@ const onInit = async () => {
const props: GalleryAndNotebookViewerComponentProps = {
junoClient: new JunoClient(),
selectedTab: galleryViewerProps.selectedTab || GalleryTab.OfficialSamples,
selectedTab: galleryViewerProps.selectedTab || GalleryTab.PublicGallery,
sortBy: galleryViewerProps.sortBy || SortBy.MostViewed,
searchText: galleryViewerProps.searchText,
};