File tree 3 files changed +4
-9
lines changed 3 files changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -16,16 +16,16 @@ import {
16
16
} from "./utils"
17
17
18
18
export type PaginationWidgetProps = {
19
- prevLabel : string
20
- nextLabel : string
19
+ prevLabel ? : string
20
+ nextLabel ? : string
21
21
numRecords ?: number
22
22
containerStyle ?: CSSProperties
23
23
paginationRef : PaginationMachineRef
24
24
}
25
25
26
26
export const PaginationWidget = ( {
27
- prevLabel,
28
- nextLabel,
27
+ prevLabel= "" ,
28
+ nextLabel= "" ,
29
29
numRecords,
30
30
containerStyle,
31
31
paginationRef,
@@ -34,7 +34,6 @@ export const PaginationWidget = ({
34
34
const isMobile = useMediaQuery ( theme . breakpoints . down ( "sm" ) )
35
35
const styles = useStyles ( )
36
36
const [ paginationState , send ] = useActor ( paginationRef )
37
- console . log ( paginationState . context , paginationState . event )
38
37
39
38
const [ searchParams , _ ] = useSearchParams ( )
40
39
const currentPage = getInitialPage ( searchParams . get ( "page" ) )
Original file line number Diff line number Diff line change @@ -25,8 +25,6 @@ const WorkspacesPage: FC = () => {
25
25
workspacesState . context
26
26
const paginationRef = workspacesState . context . paginationRef as PaginationMachineRef
27
27
28
- console . log ( workspacesState . value , workspacesState . event )
29
-
30
28
return (
31
29
< >
32
30
< Helmet >
Original file line number Diff line number Diff line change @@ -108,8 +108,6 @@ export const WorkspacesPageView: FC<
108
108
/>
109
109
110
110
< PaginationWidget
111
- prevLabel = ""
112
- nextLabel = ""
113
111
numRecords = { count }
114
112
paginationRef = { paginationRef }
115
113
/>
You can’t perform that action at this time.
0 commit comments