Merge branch 'dev' into feat/medicine-form-167
This commit is contained in:
+10
-1
@@ -1,6 +1,7 @@
|
||||
import type { ClassValue } from 'clsx'
|
||||
import { clsx } from 'clsx'
|
||||
import { twMerge } from 'tailwind-merge'
|
||||
import { toast } from '~/components/pub/ui/toast'
|
||||
|
||||
export interface SelectOptionType<_T = string> {
|
||||
value: string
|
||||
@@ -151,4 +152,12 @@ export function printFormData(formData: FormData) {
|
||||
}
|
||||
}
|
||||
console.log("-------------------------");
|
||||
}
|
||||
}
|
||||
|
||||
export function unauthorizedToast() {
|
||||
toast({
|
||||
title: 'Unauthorized',
|
||||
description: 'You are not authorized to perform this action.',
|
||||
variant: 'destructive',
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user