chore: snapshot before performance optimization

This commit is contained in:
Sepehr Ramezani
2026-04-17 21:14:43 +02:00
parent b6a548acd8
commit 2eceb32fd4
95 changed files with 4357 additions and 1942 deletions

View File

@@ -1,12 +1,13 @@
import { cn } from "@/lib/utils"
import { cn, asArray } from "@/lib/utils"
interface NoteImagesProps {
images: string[]
title?: string | null
}
export function NoteImages({ images, title }: NoteImagesProps) {
if (!images || images.length === 0) return null
export function NoteImages({ images: rawImages, title }: NoteImagesProps) {
const images = asArray<string>(rawImages)
if (images.length === 0) return null
return (
<div className={cn(