Skip to content

Commit

Permalink
fix(variants-toast): add extra failsafe (#3882)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattupham authored Oct 9, 2024
1 parent 08c4d6d commit fc1a7f5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/web/hooks/use-has-asset-variants.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ export const useHasAssetVariants = () => {

const hasAssetsToConvert = data?.hasVariants ?? false;

const shouldDisplayToast = hasAssetsToConvert && !isMobile;
const shouldDisplayToast =
alloyedAssets && hasAssetsToConvert && !isMobile;

if (shouldDisplayToast) {
displayToast(
Expand Down

0 comments on commit fc1a7f5

Please sign in to comment.