Merge pull request #2712 from omnivore-app/fix/web-default-layout

Make the list the default layout for new users
This commit is contained in:
Jackson Harper 2023-08-31 17:49:12 +08:00 committed by GitHub
commit 6c5c3cf159
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -938,7 +938,7 @@ function HomeFeedGrid(props: HomeFeedContentProps): JSX.Element {
const { viewerData } = useGetViewerQuery()
const [layout, setLayout] = usePersistedState<LayoutType>({
key: 'libraryLayout',
initialValue: 'GRID_LAYOUT',
initialValue: 'LIST_LAYOUT',
})
const updateLayout = useCallback(