diff --git a/.npmignore b/.npmignore index 68ddc78..aad2782 100644 --- a/.npmignore +++ b/.npmignore @@ -1,5 +1,6 @@ /node_modules /src/app +/src/lib /.idea /.github /public diff --git a/package.json b/package.json index 550b9c6..7d55f0a 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "griller", "license": "MIT", - "version": "1.0.5", + "version": "1.0.6", "private": false, "repository": { "url": "https://github.com/mvriu5/griller" diff --git a/src/component/toast.tsx b/src/component/toast.tsx index 93d7e15..7760e68 100644 --- a/src/component/toast.tsx +++ b/src/component/toast.tsx @@ -1,9 +1,12 @@ "use client"; import React, {HTMLAttributes, ReactNode, useEffect, useRef, useState} from "react"; -import {cn} from "@/lib/utlis"; import {X} from "lucide-react"; import {AnimatePresence, motion} from "framer-motion"; +import clsx, {ClassValue} from "clsx"; +import {twMerge} from "tailwind-merge"; + +export const cn = (...classes: ClassValue[]) => twMerge(clsx(classes)); type Position = "tr" | "tl" | "tc" | "br" | "bl" | "bc"; diff --git a/src/lib/utlis.ts b/src/lib/utlis.ts deleted file mode 100644 index 46779f5..0000000 --- a/src/lib/utlis.ts +++ /dev/null @@ -1,4 +0,0 @@ -import clsx, { ClassValue } from "clsx"; -import { twMerge } from "tailwind-merge"; - -export const cn = (...classes: ClassValue[]) => twMerge(clsx(classes)); \ No newline at end of file