Record Page Navigation Arrows Cause Unnecessary skeleton loading (#6367)
@Bonapara Issue #6325 - Desired Behavior The navigation should always be visible. Clicking on a Next/Previous arrow should immediately increment the number without switching to the skeleton loading step. **Done** Please let me know what do you think about this approach. Thanks :) https://github.com/user-attachments/assets/bda3608f-87e3-45bd-a7c8-4a6b48391cf2 Co-authored-by: Weiko <corentin@twenty.com> Co-authored-by: martmull <martmull@hotmail.fr>
This commit is contained in:
@ -43,7 +43,6 @@ export const RecordShowPage = () => {
|
||||
navigateToPreviousRecord,
|
||||
navigateToNextRecord,
|
||||
navigateToIndexView,
|
||||
isLoadingPagination,
|
||||
} = useRecordShowPagePagination(
|
||||
parameters.objectNameSingular ?? '',
|
||||
parameters.objectRecordId ?? '',
|
||||
@ -64,7 +63,6 @@ export const RecordShowPage = () => {
|
||||
hasNextRecord={hasNextRecord}
|
||||
navigateToNextRecord={navigateToNextRecord}
|
||||
Icon={headerIcon}
|
||||
loading={loading || isLoadingPagination}
|
||||
>
|
||||
<>
|
||||
<PageFavoriteButton
|
||||
|
||||
Reference in New Issue
Block a user