Fix View Picker broken (#9798)

In this PR:
- fixing a regression introduced in a recent PR (#9735)
- fixing a typing issue in ViewPicker @ehconitin FYI
This commit is contained in:
Charles Bochet
2025-01-22 17:48:27 +01:00
committed by GitHub
parent b662609948
commit d340605578
3 changed files with 3 additions and 4 deletions

View File

@ -20,7 +20,7 @@ import {
type ViewPickerOptionDropdownProps = {
isIndexView: boolean;
view: View;
view: Pick<View, 'id' | 'name' | 'icon' | '__typename'>;
onEdit: (event: React.MouseEvent<HTMLElement>, viewId: string) => void;
handleViewSelect: (viewId: string) => void;
};