Skip to content

Commit 2a62dd2

Browse files
committed
fix: preview mode icon toggle
1 parent f6fdc5f commit 2a62dd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/components/QuestionList/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ const QuestionList: FC<Props> = ({
112112
/>
113113
<Dropdown align="end" onSelect={handleViewMode}>
114114
<Dropdown.Toggle variant="outline-secondary" size="sm">
115-
<Icon name="list" />
115+
<Icon name={viewType === 'card' ? 'view-stacked' : 'list'} />
116116
</Dropdown.Toggle>
117117

118118
<Dropdown.Menu>

0 commit comments

Comments
 (0)