🔧 Configure path alias for cleaner imports (#1497)
This commit is contained in:
@@ -9,8 +9,8 @@ import {
|
||||
type UserPublic,
|
||||
type UserRegister,
|
||||
UsersService,
|
||||
} from "../client"
|
||||
import { handleError } from "../utils"
|
||||
} from "@/client"
|
||||
import { handleError } from "@/utils"
|
||||
|
||||
const isLoggedIn = () => {
|
||||
return localStorage.getItem("access_token") !== null
|
||||
|
@@ -1,6 +1,6 @@
|
||||
"use client"
|
||||
|
||||
import { toaster } from "../components/ui/toaster"
|
||||
import { toaster } from "@/components/ui/toaster"
|
||||
|
||||
const useCustomToast = () => {
|
||||
const showSuccessToast = (description: string) => {
|
||||
|
Reference in New Issue
Block a user