Skip to content

Commit b3d4d7f

Browse files
committed
fix: cleanup
1 parent fcf6630 commit b3d4d7f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

site/src/pages/GroupsPage/SettingsGroupPage.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,9 @@ export const SettingsGroupPage: FC = () => {
1414
const { groupName } = useParams() as { groupName: string };
1515
const queryClient = useQueryClient();
1616
const groupQuery = useQuery(group(groupName));
17+
const { data: groupData, isLoading, error } = useQuery(group(groupName));
1718
const patchGroupMutation = useMutation(patchGroup(queryClient));
1819
const navigate = useNavigate();
19-
const groupData = groupQuery.data;
20-
const { isLoading, error } = groupQuery;
2120

2221
const navigateToGroup = () => {
2322
navigate(`/groups/${groupName}`);

0 commit comments

Comments
 (0)