Skip to content

Commit

Permalink
fix(sanity): use correct icon in document list context menu
Browse files Browse the repository at this point in the history
  • Loading branch information
mariuslundgard authored and rexxars committed Sep 14, 2022
1 parent cd2aa91 commit f0e18d1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {SchemaType} from '@sanity/types'
import {startCase} from 'lodash'
import {SplitHorizontalIcon, StackCompactIcon} from '@sanity/icons'
import {StackCompactIcon, StackIcon} from '@sanity/icons'
import {MenuItemBuilder, getOrderingMenuItemsForSchemaType} from './MenuItem'
import {DEFAULT_SELECTED_ORDERING_OPTION} from './Sort'
import {DocumentListBuilder} from './DocumentList'
Expand Down Expand Up @@ -134,7 +134,7 @@ export function getDocumentTypeList(
new MenuItemBuilder(context)
.group('layout')
.title('Detailed view')
.icon(SplitHorizontalIcon)
.icon(StackIcon)
.action('setLayout')
.params({layout: 'detail'}),

Expand Down

0 comments on commit f0e18d1

Please sign in to comment.