Skip to content

admin-ui: toasts never mount on the production build (dev server is fine) #765

Description

@genwave-radio

🐛 What happens

On the production admin-ui build (the admin_ui image from ./launch.sh), no toast ever appears. The <section aria-label="Notifications alt+T"> mounts empty and [data-sonner-toaster] never appears in the DOM, so toast.success(...) calls are silent.

Seen for "Spot retired." and the new Approve copy on the Ads page. The actions themselves succeed; only the confirmation is missing.

✅ Expected

The same toasts that show on next dev show on the built image.

🔁 Repro

  1. BUILD=1 ./launch.sh, sign in, open Ads.
  2. Approve or Retire any spot.
  3. Inspect: document.querySelector('[data-sonner-toaster]') → null. No toast on screen.
  4. Same page on npx next dev → toast renders.

📌 Notes

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions