bcgov / bcgov/zeva2

ZEVA2 - action responses

Open
#153 0 comments 0 reactions 1 assignee Claimed by @tim738745 View on GitHub
Medium Task
Dominant language
TypeScript
Stars
1
Forks
6
Avg merge
14h 22m
Merged PRs (30d)
32

Description

**Describe the task**
In our local development environment, errors thrown by server actions called from client components are passed to said components, allowing us to display the error message to users. This is not the case in non-local environments (https://github.com/vercel/next.js/issues/71101). We should address this.

**Purpose**
Issue of correctness.

**Acceptance Criteria**
- [ ] Refactor server actions and corresponding, calling client components so that error messages from actions are passed to the frontend in all environments. Please see this PR (https://github.com/bcgov/zeva2/pull/152) for an example of how to do so.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.