mirror of
				https://github.com/NginxProxyManager/nginx-proxy-manager.git
				synced 2025-10-31 15:53:33 +00:00 
			
		
		
		
	Add goleak in unit tests
This commit is contained in:
		| @@ -2,7 +2,6 @@ import { useEffect, useReducer, useState } from "react"; | ||||
|  | ||||
| import { Alert, AlertIcon, useToast } from "@chakra-ui/react"; | ||||
| import { useQueryClient } from "@tanstack/react-query"; | ||||
|  | ||||
| import { renewCertificate } from "src/api/npm"; | ||||
| import { EmptyList, SpinnerPage, tableEventReducer } from "src/components"; | ||||
| import { useCertificates } from "src/hooks"; | ||||
| @@ -81,10 +80,6 @@ function TableWrapper() { | ||||
| 		); | ||||
| 	} | ||||
|  | ||||
| 	if (isFetching || isLoading || !tableData) { | ||||
| 		return <SpinnerPage />; | ||||
| 	} | ||||
|  | ||||
| 	// When there are no items and no filters active, show the nicer empty view | ||||
| 	if (data?.total === 0 && filters?.length === 0) { | ||||
| 		return ( | ||||
|   | ||||
		Reference in New Issue
	
	Block a user