0
0
mirror of https://github.com/PostHog/posthog.git synced 2024-11-24 00:47:50 +01:00

set platform when selecting api from footer

This commit is contained in:
kunal 2021-04-05 12:54:55 -07:00
parent 18d0255cb8
commit 353e461c28

View File

@ -132,6 +132,7 @@ export function FrameworkGrid(): JSX.Element {
style={{ marginLeft: 5 }} style={{ marginLeft: 5 }}
className="button-border clickable" className="button-border clickable"
onClick={() => { onClick={() => {
setPlatform(frameworkToPlatform(API))
setFramework(API) setFramework(API)
}} }}
> >