Skip to content

Commit

Permalink
fix: Tusk automated feedback for automated check failure
Browse files Browse the repository at this point in the history
  • Loading branch information
use-tusk[bot] authored Oct 8, 2024
1 parent 9028dc1 commit b9bc435
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions web/components/templates/dashboard/dashboardPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,6 @@ const DashboardPage = (props: DashboardPageProps) => {

const debouncedAdvancedFilter = useDebounce(advancedFilters, 500);

const debouncedRefetch = useDebounce(refetch, 500);

const timeIncrement = getTimeInterval(timeFilter);

const { unauthorized, currentTier } = useGetUnauthorized(user.id);
Expand Down Expand Up @@ -220,6 +218,8 @@ const DashboardPage = (props: DashboardPageProps) => {
isLive,
});

const debouncedRefetch = useDebounce(refetch, 500);

const getAdvancedFilters = useCallback((): UIFilterRowTree => {
const decodeFilter = (encoded: any): UIFilterRowTree => {
if (encoded.type === "node") {
Expand Down
3 changes: 2 additions & 1 deletion web/components/templates/requestsV2/requestsPageV2.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,6 @@ const RequestsPageV2 = (props: RequestsPageV2Props) => {

const [timeFilter, setTimeFilter] = useState<FilterNode>(getTimeFilter());
const timeRange = useMemo(getTimeRange, []);
const debouncedRefetch = useDebounce(refetch, 500);

const [advancedFilters, setAdvancedFilters] = useState<UIFilterRowTree>(
getRootFilterNode()
Expand Down Expand Up @@ -298,6 +297,8 @@ const RequestsPageV2 = (props: RequestsPageV2Props) => {
isLive
);

const debouncedRefetch = useDebounce(refetch, 500);

const requestWithoutStream = normalizedRequests.find((r) => {
return (
(r.requestBody as any)?.stream &&
Expand Down

0 comments on commit b9bc435

Please sign in to comment.