mirror of
https://github.com/Alvin-Zilverstand/nginx-proxy-manager.git
synced 2026-11-25 23:53:07 +01:00
Converted to Vite since create-react-app is no longer being developed
This commit is contained in:
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 />,
|
||||
|
||||
@@ -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";
|
||||
|
||||
|
||||
Reference in new issue
Block a user