threshold-network / website

1 stars 10 forks source link

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

Closed michalsmiarowski closed 6 months ago

michalsmiarowski commented 6 months ago

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.

github-actions[bot] commented 6 months ago

Preview uploaded to https://preview.threshold.network/fix-posthog-label-issue-in-admin-page/index.html.