mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-10-29 23:04:23 +00:00
chore: adding a new index.ts file to improve the way we're exporting components (ui)
This commit is contained in:
15 files changed
+22
-23
No files matched your search
@@ -1,6 +1,6 @@
|
||||
import React from "react";
|
||||
|
||||
import { Header } from "@/components";
|
||||
import { Header } from "@/components/ui";
|
||||
|
||||
export default function Compliance() {
|
||||
return (
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
import Link from "next/link";
|
||||
import { useEffect } from "react";
|
||||
|
||||
import { Alert, AlertDescription, AlertTitle } from "@/components";
|
||||
import { RocketIcon } from "@/components/icons";
|
||||
import { Alert, AlertDescription, AlertTitle } from "@/components/ui";
|
||||
|
||||
export default function Error({
|
||||
error,
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
import { Spacer } from "@nextui-org/react";
|
||||
import React, { Suspense } from "react";
|
||||
|
||||
import { ColumnsFindings, Header, SkeletonTableFindings } from "@/components";
|
||||
import { ColumnsFindings, SkeletonTableFindings } from "@/components";
|
||||
import { DataTable } from "@/components/providers";
|
||||
import { Header } from "@/components/ui";
|
||||
|
||||
export default async function Findings() {
|
||||
return (
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import React from "react";
|
||||
|
||||
import { Header } from "@/components";
|
||||
import { Header } from "@/components/ui";
|
||||
|
||||
export default function Integration() {
|
||||
return (
|
||||
|
||||
@@ -3,7 +3,7 @@ import "@/styles/globals.css";
|
||||
import { Metadata, Viewport } from "next";
|
||||
import React from "react";
|
||||
|
||||
import { Toaster } from "@/components";
|
||||
import { Toaster } from "@/components/ui";
|
||||
import { SidebarWrap } from "@/components/ui/sidebar";
|
||||
import { fontSans } from "@/config/fonts";
|
||||
import { siteConfig } from "@/config/site";
|
||||
|
||||
@@ -1,6 +1,4 @@
|
||||
import React from "react";
|
||||
|
||||
import { Header } from "@/components";
|
||||
import { Header } from "@/components/ui";
|
||||
|
||||
export default function Home() {
|
||||
return (
|
||||
|
||||
@@ -2,13 +2,13 @@ import { Spacer } from "@nextui-org/react";
|
||||
import { Suspense } from "react";
|
||||
|
||||
import { getProvider } from "@/actions";
|
||||
import { Header } from "@/components";
|
||||
import {
|
||||
AddProviderModal,
|
||||
ColumnsProviders,
|
||||
DataTable,
|
||||
SkeletonTableProvider,
|
||||
} from "@/components/providers";
|
||||
import { Header } from "@/components/ui";
|
||||
|
||||
export default async function Providers() {
|
||||
return (
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import React from "react";
|
||||
|
||||
import { Header } from "@/components";
|
||||
import { Header } from "@/components/ui";
|
||||
|
||||
export default function Services() {
|
||||
return (
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Spacer } from "@nextui-org/react";
|
||||
|
||||
import { Header } from "@/components";
|
||||
import { Header } from "@/components/ui";
|
||||
|
||||
export default async function Settings() {
|
||||
return (
|
||||
|
||||
Reference in new issue
Block a user