Skip to content

Commit

Permalink
fix: fix ts error
Browse files Browse the repository at this point in the history
  • Loading branch information
chenshuai2144 committed Jan 11, 2022
1 parent b3d876f commit dbd357a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/layout/src/components/SettingDrawer/LayoutChange.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ const LayoutSetting: React.FC<{
defaultMessage: 'Content Width',
}),
action: (
<Select<string>
<Select
value={contentWidth || 'Fixed'}
size="small"
className="content-width"
onSelect={(value) => {
onSelect={(value: string) => {
changeSetting('contentWidth', value);
}}
style={{ width: 80 }}
Expand Down

0 comments on commit dbd357a

Please sign in to comment.