The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
remove loading filter states
Steven Teyea39d982e576
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/programs/[programId]/sales/sale-table.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/programs/[programId]/sales/sale-table.tsxindex 5de5c0a299..ace0f67835 100644--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/programs/[programId]/sales/sale-table.tsx+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/programs/[programId]/sales/sale-table.tsx@@ -204,23 +204,14 @@ export function SaleTableBusiness({ limit }: { limit?: number }) {<div className="flex flex-col gap-3"><div><div className="flex flex-col gap-3 md:flex-row md:items-center">- {loading ? (- <>- <div className="h-10 w-full animate-pulse rounded-md bg-neutral-200 md:w-24" />- <div className="h-10 w-full animate-pulse rounded-md bg-neutral-200 md:w-32" />- </>- ) : (- <>- <Filter.Select- className="w-full md:w-fit"- filters={filters}- activeFilters={activeFilters}- onSelect={onSelect}- onRemove={onRemove}- />- <SimpleDateRangePicker className="w-full sm:min-w-[200px] md:w-fit" />- </>- )}+ <Filter.Select+ className="w-full md:w-fit"+ filters={filters}+ activeFilters={activeFilters}+ onSelect={onSelect}+ onRemove={onRemove}+ />+ <SimpleDateRangePicker className="w-full sm:min-w-[200px] md:w-fit" /></div><AnimatedSizeContainer height><div>