refactor(DialogTemplate): convert to typescript

refactor(ui): import multiple components from ui folder in several files
This commit is contained in:
Daniel Avila 2023-06-11 14:45:38 -04:00 committed by Danny Avila
parent 544d72ee1d
commit c661276888
4 changed files with 27 additions and 15 deletions

View file

@ -1,9 +1,6 @@
import React, { useEffect, useState } from 'react';
import { useRecoilValue } from 'recoil';
import DialogTemplate from '../ui/DialogTemplate';
import { Dialog } from '../ui/Dialog.tsx';
import { Input } from '../ui/Input.tsx';
import { Label } from '../ui/Label.tsx';
import {Dialog, DialogTemplate, Input, Label} from '../ui/';
import { cn } from '~/utils/';
import cleanupPreset from '~/utils/cleanupPreset';
import { useCreatePresetMutation } from '~/data-provider';