You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/08/12 21:10:05 UTC

[GitHub] [apisix-website] 1502shivam-singh commented on pull request #444: style: unmount Contributor200Poster component

1502shivam-singh commented on pull request #444:
URL: https://github.com/apache/apisix-website/pull/444#issuecomment-897969966


   Hey @Baoyuantop, how about you refactor that theme based poster selection code using the useThemeContext[1] hook. No issues with the code at present, just that this would make it more compact.
   
   [1] https://docusaurus.io/docs/api/themes/configuration#usethemecontext


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org