Converted to Vite since create-react-app is no longer being developed

This commit is contained in:
Jamie Curnow committed 2023-07-20 15:11:41 +10:00
1 parent 824a22efad
commit 6d6021c9bb
115 files changed
+2511 -10015

No files matched your search

@@ -1,5 +1,8 @@
import { useEffect, useMemo } from "react";
import { FiEdit } from "react-icons/fi";
import { useSortBy, useFilters, useTable, usePagination } from "react-table";
import {
tableEvents,
ActionsFormatter,
@@ -10,15 +13,13 @@ import {
TablePagination,
TableSortBy,
TextFilter,
} from "components";
import { intl } from "locale";
import { FiEdit } from "react-icons/fi";
import { useSortBy, useFilters, useTable, usePagination } from "react-table";
} from "src/components";
import { intl } from "src/locale";
const rowActions = [
{
title: intl.formatMessage({ id: "action.edit" }),
onClick: (e: any, data: any) => {
onClick: (_: any, data: any) => {
alert(JSON.stringify(data, null, 2));
},
icon: <FiEdit />,
+4 -3
View File
@@ -1,14 +1,15 @@
import { useEffect, useReducer, useState } from "react";
import { Alert, AlertIcon, Heading, HStack } from "@chakra-ui/react";
import {
HelpDrawer,
PrettyButton,
SpinnerPage,
tableEventReducer,
} from "components";
import { useNginxTemplates } from "hooks";
import { intl } from "locale";
} from "src/components";
import { useNginxTemplates } from "src/hooks";
import { intl } from "src/locale";
import { NginxTemplatesTable } from "./NginxTemplatesTable";