Skip to content

Issue with loading the demo #22

@alireza-ahmadi

Description

@alireza-ahmadi

It seems that there is an error the in the deployment of the worker. When I try to open the demo I get this error:

CleanShot 2023-08-26 at 18 49 28@2x

A few notes:

  • The demo works fine locally
  • Current implementation can be improved by checking whether the server response exists or not, before checking its length (see below). However, that won't fix the core issue.
const Suppliers = () => {
  // some component logic
  return (
    <>
-      {suppliers.length ? (
+      {suppliers?.length ? (
        <div className="card has-table">

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No 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