File tree 1 file changed +0
-2
lines changed
site/src/components/Resources
1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ import { getAgentListeningPorts } from "api/api"
17
17
import { WorkspaceAgentListeningPort } from "api/typesGenerated"
18
18
import CircularProgress from "@mui/material/CircularProgress"
19
19
import { portForwardURL } from "utils/portForward"
20
- import { MockListeningPortsResponse } from "testHelpers/entities"
21
20
import OpenInNewOutlined from "@mui/icons-material/OpenInNewOutlined"
22
21
23
22
export interface PortForwardButtonProps {
@@ -36,7 +35,6 @@ export const PortForwardButton: React.FC<PortForwardButtonProps> = (props) => {
36
35
const { data : listeningPorts } = useQuery ( {
37
36
queryKey : [ "portForward" , props . agentId ] ,
38
37
queryFn : ( ) => getAgentListeningPorts ( props . agentId ) ,
39
- initialData : MockListeningPortsResponse ,
40
38
} )
41
39
42
40
const onClose = ( ) => {
You can’t perform that action at this time.
0 commit comments