+ {selectedLang === 'js' && ( + } + onClick={generateTypes} + > + Generate and download types + + )} +
++ Remember to re-generate and download this file as you make changes to your tables. +
+diff --git a/studio/components/interfaces/Docs/GeneratingTypes.tsx b/studio/components/interfaces/Docs/GeneratingTypes.tsx
index 0a6d54579d2..9cdabfe4ecc 100644
--- a/studio/components/interfaces/Docs/GeneratingTypes.tsx
+++ b/studio/components/interfaces/Docs/GeneratingTypes.tsx
@@ -69,18 +69,27 @@ export default function GeneratingTypes({ selectedLang }: Props) {
application within src/index.ts.
+ {selectedLang === 'js' && ( + } + onClick={generateTypes} + > + Generate and download types + + )} +
++ Remember to re-generate and download this file as you make changes to your tables. +
+