added mail service
This commit is contained in:
12
lib/utils.ts
Normal file
12
lib/utils.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { type ClassValue, clsx } from 'clsx'
|
||||
import { twMerge } from 'tailwind-merge'
|
||||
import { LC } from '@/config/locales'
|
||||
import bcrypt from 'bcryptjs'
|
||||
|
||||
export function cn (...inputs: ClassValue[]) {
|
||||
return twMerge(clsx(inputs))
|
||||
}
|
||||
|
||||
export function lc (locale: string) {
|
||||
return LC.filter(lc => locale === lc.code)[0]
|
||||
}
|
||||
Reference in New Issue
Block a user