Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

Drop a redundant fragment biome flagged

Damian Legawiec1f41ec215884
diff --git a/packages/seller-dashboard/src/pages/product.tsx b/packages/seller-dashboard/src/pages/product.tsx
index 903a88d26f..6dc59263b6 100644
--- a/packages/seller-dashboard/src/pages/product.tsx
+++ b/packages/seller-dashboard/src/pages/product.tsx
@@ -188,17 +188,16 @@ export function ProductPage({ mode }: { mode: 'new' | 'edit' }) {
</>
}
sidebar={
- <>
- {productId && product && (
- <ProductStatusCard
- product={product}
- onDone={() => {
- void queryClient.invalidateQueries({ queryKey: productKey })
- void queryClient.invalidateQueries({ queryKey: ['seller-products'] })
- }}
- />
- )}
- </>
+ productId &&
+ product && (
+ <ProductStatusCard
+ product={product}
+ onDone={() => {
+ void queryClient.invalidateQueries({ queryKey: productKey })
+ void queryClient.invalidateQueries({ queryKey: ['seller-products'] })
+ }}
+ />
+ )
}
/>
</form>