Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
luyongfang committed Oct 17, 2024
1 parent 4e33e84 commit dbbd10b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -483,8 +483,8 @@ const _Carouse = forwardRef<HandlerRef<ScrollView & View, CarouseProps>, Carouse
const pages: Array<ReactNode> | ReactNode = renderPages()
// const strStyle: string = 'container_' + state.dir
// const eventProps = props.innerProps || {}
const layoutStyle = dir === 'x' ? { width: defaultWidth, height: defaultHeight } : { width: defaultWidth }
return (<View style={[layoutStyle,innerStyle]} onLayout={onWrapperLayout}>
// const layoutStyle = dir === 'x' ? { width: defaultWidth, height: defaultHeight } : { width: defaultWidth }
return (<View style={[innerStyle]} onLayout={onWrapperLayout}>
{renderScrollView(pages)}
{props.showsPagination && renderPagination()}
</View>)
Expand Down

0 comments on commit dbbd10b

Please sign in to comment.