Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Admin UI for AI Vendor configuration #741

Open
wants to merge 5 commits into
base: ai_api_gateway
Choose a base branch
from

Conversation

nimsara66
Copy link
Contributor

No description provided.

const authSources = ['authHeader', 'authQueryParameter'];
const [validating, setValidating] = useState(false);
const [file, setFile] = useState(null);
const [initialState] = useState({
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the setInitialState ommited here on purpose, can we use a const instead

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

setInitialState is omitted because changes are managed through a reducer, and useState is used to ensure the UI re-renders when the state changes

Copy link

sonarcloud bot commented Sep 23, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
8.6% Duplication on New Code (required ≤ 3%)

See analysis details on SonarCloud

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants