Skip to content

Commit e49719a

Browse files
committed
fix: lint errors in handle_acls.go and acl.tsx
Remove trailing newline in handle_acls.go (gci). Use type-only import for ConnectError in acl.tsx.
1 parent 6d98540 commit e49719a

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

backend/pkg/api/handle_acls.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,4 +96,3 @@ func (api *API) handleGetACLsOverview() http.HandlerFunc {
9696
rest.SendResponse(w, r, api.Logger, http.StatusOK, res)
9797
}
9898
}
99-

frontend/src/react-query/api/acl.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { create } from '@bufbuild/protobuf';
22
import type { GenMessage } from '@bufbuild/protobuf/codegenv1';
3-
import { ConnectError } from '@connectrpc/connect';
3+
import type { ConnectError } from '@connectrpc/connect';
44
import { createConnectQueryKey, type UseMutationOptions, useMutation, useQuery } from '@connectrpc/connect-query';
55
import { useQueryClient } from '@tanstack/react-query';
66
import {

0 commit comments

Comments
 (0)