fix(vite): update code for updated dependencies (#1043)

* how do I shoot web??

* black rabbit feedback + update deps
This commit is contained in:
Kyle Sanderson 2023-08-13 08:47:31 -07:00 committed by GitHub
parent 82ffd3645b
commit 6d78e1e0a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 1972 additions and 1843 deletions

View file

@ -6,6 +6,7 @@
import { Fragment, useEffect, useRef, useState } from "react";
import { useMutation, useQuery } from "@tanstack/react-query";
import { Field, FieldArray, FieldProps, FormikValues, useFormikContext } from "formik";
import type { FieldArrayRenderProps } from "formik";
import { Dialog, Switch as SwitchBasic, Transition } from "@headlessui/react";
import { ChevronRightIcon } from "@heroicons/react/24/solid";
import { Link } from "react-router-dom";
@ -76,7 +77,7 @@ export function FilterActions({ filter, values }: FilterActionsProps) {
return (
<div className="mt-10">
<FieldArray name="actions">
{({ remove, push }) => (
{({ remove, push }: FieldArrayRenderProps) => (
<Fragment>
<div className="-ml-4 -mt-4 mb-6 flex justify-between items-center flex-wrap sm:flex-nowrap">
<div className="ml-4 mt-4">