@@ -55,7 +55,7 @@ export default function TemplatesTable() {
5555
5656 const { sorting, setSorting, globalFilter, setGlobalFilter } =
5757 useTemplateTableStore ( )
58- const { cpuCount , memoryMB , isPublic } = useTemplateTableStore ( )
58+ const { isPublic } = useTemplateTableStore ( )
5959
6060 // Persisted state (URL hash) may still reference columns that are no longer sortable.
6161 const activeSorting = useMemo (
@@ -85,8 +85,6 @@ export default function TemplatesTable() {
8585 {
8686 teamSlug,
8787 limit : TEMPLATES_PAGE_SIZE ,
88- cpuCount,
89- memoryMB,
9088 public : isPublic ,
9189 search : globalFilter || undefined ,
9290 sort,
@@ -107,8 +105,6 @@ export default function TemplatesTable() {
107105 const { isRefetching, clearRefetching } = useTemplatesRefetchTracking (
108106 sort ,
109107 globalFilter ,
110- cpuCount ,
111- memoryMB ,
112108 isPublic
113109 )
114110
@@ -155,7 +151,7 @@ export default function TemplatesTable() {
155151 scrollRef . current . scrollTop = 0
156152 scrollRef . current . scrollLeft = 0
157153 }
158- } , [ sort , globalFilter , cpuCount , memoryMB , isPublic ] )
154+ } , [ sort , globalFilter , isPublic ] )
159155
160156 if ( templatesError ) {
161157 return (
@@ -243,8 +239,6 @@ export default function TemplatesTable() {
243239function useTemplatesRefetchTracking (
244240 sort : string ,
245241 globalFilter : string ,
246- cpuCount : number | undefined ,
247- memoryMB : number | undefined ,
248242 isPublic : boolean | undefined
249243) {
250244 const [ isRefetching , setIsRefetching ] = useState ( false )
@@ -257,7 +251,7 @@ function useTemplatesRefetchTracking(
257251 return
258252 }
259253 setIsRefetching ( true )
260- } , [ sort , globalFilter , cpuCount , memoryMB , isPublic ] )
254+ } , [ sort , globalFilter , isPublic ] )
261255
262256 const clearRefetching = useCallback ( ( ) => setIsRefetching ( false ) , [ ] )
263257
0 commit comments