1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Use react fragment instead of div

This commit is contained in:
h3llrais3r 2022-12-16 09:29:29 +01:00 committed by Bill Thornton
parent b019eef37b
commit c74717cd6d

View file

@ -74,7 +74,7 @@ const Pagination: FC<PaginationProps> = ({ viewQuerySettings, setViewQuerySettin
{globalize.translate('ListPaging', (totalRecordCount ? startIndex + 1 : 0), recordsEnd || totalRecordCount, totalRecordCount)} {globalize.translate('ListPaging', (totalRecordCount ? startIndex + 1 : 0), recordsEnd || totalRecordCount, totalRecordCount)}
</span> </span>
{showControls && ( {showControls && (
<div style={{ display: 'inline-flex' }}> <>
<IconButtonElement <IconButtonElement
is='paper-icon-button-light' is='paper-icon-button-light'
className='btnPreviousPage autoSize' className='btnPreviousPage autoSize'
@ -85,7 +85,7 @@ const Pagination: FC<PaginationProps> = ({ viewQuerySettings, setViewQuerySettin
className='btnNextPage autoSize' className='btnNextPage autoSize'
icon='material-icons arrow_forward' icon='material-icons arrow_forward'
/> />
</div> </>
)} )}
</div> </div>
</div> </div>