From bdb97c173ba3e3d2ff5642ce2d33c4f07da30c23 Mon Sep 17 00:00:00 2001 From: Keith Grant Date: Wed, 1 Jul 2020 15:52:06 -0700 Subject: [PATCH] move useThrottle to utils --- awx/ui_next/src/components/JobList/useWsJobs.js | 2 +- awx/ui_next/src/{components/JobList => util}/useThrottle.js | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename awx/ui_next/src/{components/JobList => util}/useThrottle.js (100%) diff --git a/awx/ui_next/src/components/JobList/useWsJobs.js b/awx/ui_next/src/components/JobList/useWsJobs.js index 46068353af..9c939f25d9 100644 --- a/awx/ui_next/src/components/JobList/useWsJobs.js +++ b/awx/ui_next/src/components/JobList/useWsJobs.js @@ -1,6 +1,6 @@ import { useState, useEffect, useRef } from 'react'; import { useLocation } from 'react-router-dom'; -import useThrottle from './useThrottle'; +import useThrottle from '../../util/useThrottle'; import { parseQueryString } from '../../util/qs'; import sortJobs from './sortJobs'; diff --git a/awx/ui_next/src/components/JobList/useThrottle.js b/awx/ui_next/src/util/useThrottle.js similarity index 100% rename from awx/ui_next/src/components/JobList/useThrottle.js rename to awx/ui_next/src/util/useThrottle.js