fix: order of tailwind classes

This commit is contained in:
ner committed 2024-10-05 17:23:37 +03:00
1 parent 5528a84ee7
commit 3b03df3ff5
33 files changed
+135 -1250

No files matched your search

+2 -3
View File
@@ -1,9 +1,7 @@
import { type ClassValue, clsx } from 'clsx';
import { twMerge } from 'tailwind-merge';
export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs));
}
export const cn = (...inputs: ClassValue[]) => twMerge(clsx(inputs));
export const createUniqueRandomGenerator = (max: number) => {
const numbers = Array.from({ length: max }, (_, i) => i + 1);
@@ -19,6 +17,7 @@ export const createUniqueRandomGenerator = (max: number) => {
if (index >= numbers.length) {
index = 0;
}
return numbers[index++];
};
};