CivicTechFredericton / CivicTechFredericton/dei-decoder

The old error message is still visible after a successful start of analysis

Open
#29 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
7
Forks
0
PR merge metrics
No merged PRs in 30d

Description

The old error message is still visible after a successful start of analysis

## Current Behavior
The error message is not cleared out after a successful launch of analysis

## Steps to Reproduce
1. Open decoder http://localhost:3000/decoder/textdecoder
2. Enter a short text "hello world" into the "Input Job posting" text area
3. Push the button "Analyze job posting"
4. The error message "Please enter a job description of more than 100 characters" will pop up
5. Enter a long text (longer than 100 characters) into the "Input Job posting" text area
## Actual Behavior
The button "Analyze job posting" is disabled. This is expected. ✅
The error message "Please enter a job description of more than 100 characters" is still visible ❌

## Expected Behavior
The error message "Please enter a job description of more than 100 characters" is hidden right after the successful run of analysis.

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.