Skip to content

UseCollection Error-is not changed #105

@mzubzzz

Description

@mzubzzz

Hi.

The situation:
const resourceParam = useCollection<T>(url, options);
I have code which changes the url, and there are situations when server responds with 400 - Bad request

The problem:
after url becames correct the resourceParam.error is still exists

The possible solution:
May be is possible to add reset an Error in src/hooks/use-read-resource.ts

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions