Skip to content

Commit

Permalink
fix(design): Space should be flexible by default to avoid shrink
Browse files Browse the repository at this point in the history
  • Loading branch information
dengfuping committed Sep 12, 2024
1 parent af942a6 commit 2843f14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/design/src/_util/useFlexGapSupport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import * as React from 'react';
import { detectFlexGapSupported } from './styleChecker';

export default () => {
const [flexible, setFlexible] = React.useState(false);
const [flexible, setFlexible] = React.useState(true);
React.useEffect(() => {
setFlexible(detectFlexGapSupported());
}, []);
Expand Down

0 comments on commit 2843f14

Please sign in to comment.