From ecca1e269af9ac715324a2bb5e5b8f2661a7642e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lu=C3=ADs=20Murta?= Date: Sun, 1 Jun 2025 10:08:12 +0100 Subject: [PATCH] refactor: sort imports --- eslint.config.js | 2 +- src/main.tsx | 2 +- src/root.tsx | 2 +- src/routes/transactions.tsx | 2 +- vite.config.ts | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/eslint.config.js b/eslint.config.js index 092408a..146b314 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -1,7 +1,7 @@ import js from '@eslint/js' -import globals from 'globals' import reactHooks from 'eslint-plugin-react-hooks' import reactRefresh from 'eslint-plugin-react-refresh' +import globals from 'globals' import tseslint from 'typescript-eslint' export default tseslint.config( diff --git a/src/main.tsx b/src/main.tsx index fbe5e92..a5a082b 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -1,9 +1,9 @@ +import { QueryClient, QueryClientProvider } from "@tanstack/react-query"; import { StrictMode } from "react"; import { createRoot } from "react-dom/client"; import { RouterProvider } from "react-router"; import "./index.css"; import { router } from "./routes.ts"; -import { QueryClient, QueryClientProvider } from "@tanstack/react-query"; const queryClient = new QueryClient(); diff --git a/src/root.tsx b/src/root.tsx index dc29bda..32c6aaa 100644 --- a/src/root.tsx +++ b/src/root.tsx @@ -1,5 +1,5 @@ -import "./root.css"; import { NavLink, Outlet } from "react-router"; +import "./root.css"; export default function App() { return ( diff --git a/src/routes/transactions.tsx b/src/routes/transactions.tsx index df35da7..3738668 100644 --- a/src/routes/transactions.tsx +++ b/src/routes/transactions.tsx @@ -1,10 +1,10 @@ import { keepPreviousData, useQuery } from "@tanstack/react-query"; import { - PaginationState, ColumnFiltersState, createColumnHelper, flexRender, getCoreRowModel, + PaginationState, useReactTable, } from "@tanstack/react-table"; import { useState } from "react"; diff --git a/vite.config.ts b/vite.config.ts index 8b0f57b..9982072 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -1,5 +1,5 @@ -import { defineConfig } from 'vite' import react from '@vitejs/plugin-react' +import { defineConfig } from 'vite' // https://vite.dev/config/ export default defineConfig({