Skip to content

Fix invalid Dispatch logo image warning #232

@joryirving

Description

@joryirving

Bug

Dispatch logs this runtime warning:

```
⨯ The requested resource isn't a valid image for /images/logo.png received null
```

Likely root cause

`src/app/layout.tsx` references `/images/logo.png` through `next/image`, but the runtime image either does not include a valid `public/images/logo.png` asset or the file is invalid.

Expected behavior

The app shell should not log image errors for the Dispatch logo.

Suggested fix

Pick one:

  • Add a small valid `public/images/logo.png` asset.
  • Replace the `next/image` logo usage with a simple text/icon fallback.
  • Do not introduce remote image config.

Tests / validation

  • Check existing layout tests and add coverage if useful.
  • `npm ci`
  • `npx prisma generate`
  • `npm run lint`
  • `npm run typecheck`
  • `npm run test`
  • `npm run build`
  • `docker build -t dispatch:test .`

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions