Skip to content

Commit

Permalink
Merge pull request #5211 from kobotoolbox/move-activity-logs-query-fi…
Browse files Browse the repository at this point in the history
…le-to-proper-dir

Move activityLogs.query.ts to feature dir
  • Loading branch information
magicznyleszek authored Oct 30, 2024
2 parents a60a3b8 + ee61690 commit 4b83658
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import {keepPreviousData, useQuery} from '@tanstack/react-query';
import type {KoboSelectOption} from 'jsapp/js/components/common/koboSelect';
import type {PaginatedResponse} from 'jsapp/js/dataInterface';
import type {KoboSelectOption} from 'js/components/common/koboSelect';
import type {PaginatedResponse} from 'js/dataInterface';
import moment from 'moment';
import {QueryKeys} from '../queryKeys';
import {QueryKeys} from 'js/query/queryKeys';

export interface ActivityLogsItem {
id: number;
Expand Down
4 changes: 2 additions & 2 deletions jsapp/js/components/activity/formActivity.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ import KoboSelect from '../common/koboSelect';
import type {UniversalTableColumn} from 'jsapp/js/universalTable/universalTable.component';
import Button from '../common/button';
import PaginatedQueryUniversalTable from 'jsapp/js/universalTable/paginatedQueryUniversalTable.component';
import type {ActivityLogsItem} from 'jsapp/js/query/queries/activityLogs.query';
import type {ActivityLogsItem} from './activityLogs.query';
import {
useActivityLogsFilterOptionsQuery,
useActivityLogsQuery,
} from 'jsapp/js/query/queries/activityLogs.query';
} from './activityLogs.query';
import styles from './formActivity.module.scss';
import cx from 'classnames';
import {formatTime} from 'jsapp/js/utils';
Expand Down

0 comments on commit 4b83658

Please sign in to comment.