Skip to content

Commit 1c7ccea

Browse files
Merge pull request #5212 from kobotoolbox/move-access-logs-query-file-to-proper-dir
Move accessLogs.query.ts file to feature directory
2 parents 4b83658 + 79e836f commit 1c7ccea

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

jsapp/js/query/queries/accessLogs.query.ts renamed to jsapp/js/account/security/accessLogs/accessLogs.query.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import {keepPreviousData, useQuery} from '@tanstack/react-query';
22
import {endpoints} from 'js/api.endpoints';
33
import type {PaginatedResponse} from 'js/dataInterface';
44
import {fetchGet} from 'js/api';
5-
import {QueryKeys} from '../queryKeys';
5+
import {QueryKeys} from 'js/query/queryKeys';
66

77
export interface AccessLog {
88
/** User URL */

jsapp/js/account/security/accessLogs/accessLogsSection.component.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import React from 'react';
66
import PaginatedQueryUniversalTable from 'js/universalTable/paginatedQueryUniversalTable.component';
77

88
// Utilities
9-
import useAccessLogsQuery, {type AccessLog} from 'js/query/queries/accessLogs.query';
9+
import useAccessLogsQuery, {type AccessLog} from './accessLogs.query';
1010
import {formatTime} from 'js/utils';
1111
// import sessionStore from 'js/stores/session';
1212

0 commit comments

Comments
 (0)