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

Fix error that occured when updating the home page by admin #108

Merged
merged 1 commit into from
Dec 22, 2023

Conversation

michalsmiarowski
Copy link
Contributor

@michalsmiarowski michalsmiarowski commented Dec 22, 2023

There is an error when we try to update the home page through admin panel:

Oops, you've missed a required field. Please complete before saving.
Screenshot image

It happens, because the posthogLabel field was required for Liquidity Provider Role section and it is not set by default in stc/content/pages/index.md file. The posthog label for this button is not needed anyway so it was probably added there by mistake in #70.

This PR removes that unnecessary field from the Liquidity Provider Roles buttons.

There is an error when we try to update the home page through admin panel:

```
Oops, you've missed a required field. Please complete before saving.
```

I happens, because the `posthogLabel` field was required for Liquidity Provider
Role section and it is not set by default in `stc/content/pages/index.md` file.
The posthog label for this button is not needed anyway so it was probably added
there by mistake.
Copy link

Copy link
Contributor

@evandrosaturnino evandrosaturnino left a comment

Choose a reason for hiding this comment

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

LGTM

@evandrosaturnino evandrosaturnino merged commit 40e215d into main Dec 22, 2023
3 checks passed
@evandrosaturnino evandrosaturnino deleted the fix-posthog-label-issue-in-admin-page branch December 22, 2023 15:42
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