chore: adding a new index.ts file to improve the way we're exporting components (ui)

This commit is contained in:
Pablo Lara
2024-08-06 12:05:10 +02:00
parent 22ebe00cf6
commit 81bf3fc15f
15 changed files with 22 additions and 23 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ import {
ToastProvider,
ToastTitle,
ToastViewport,
} from "@/components";
} from "@/components/ui";
import { useToast } from "./use-toast";
+1 -1
View File
@@ -3,7 +3,7 @@
// Inspired by react-hot-toast library
import * as React from "react";
import type { ToastActionElement, ToastProps } from "@/components";
import type { ToastActionElement, ToastProps } from "@/components/ui";
const TOAST_LIMIT = 6;
const TOAST_REMOVE_DELAY = 1000000;