Refactor/front fix navba (#328)

This commit is contained in:
Zineb El Bachiri 2023-06-14 15:00:05 +02:00 committed by GitHub
parent f4aa22417f
commit 4c6beea626
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,7 @@
"use client";
import Button from "@/lib/components/ui/Button";
import Spinner from "@/lib/components/ui/Spinner";
import { Document } from "@/lib/types/Document";
import { useAxios } from "@/lib/useAxios";
import { AnimatePresence, motion } from "framer-motion";

View File

@ -1,5 +1,5 @@
import { ToastContext } from "@/lib/components/ui/Toast/domain/ToastContext";
import { useContext } from "react";
import { ToastContext } from "../components/ui/Toast/domain/ToastContext";
export const useToast = () => {
const { publish } = useContext(ToastContext);

View File

@ -5,6 +5,7 @@ module.exports = {
'./pages/**/*.{js,ts,jsx,tsx,mdx}',
'./components/**/*.{js,ts,jsx,tsx,mdx}',
'./app/**/*.{js,ts,jsx,tsx,mdx}',
'./lib/**/*.{js,ts,jsx,tsx,mdx}',
],
theme: {
extend: {