From ca3abffb810ab1d0dd9dc1ac5b22db785e4b8ced Mon Sep 17 00:00:00 2001 From: Jakob Miksch Date: Fri, 7 Oct 2022 20:21:39 +0200 Subject: [PATCH] docs: wording in template (#21491) --- .../generators/plugin-chart/templates/src/MyChart.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superset-frontend/packages/generator-superset/generators/plugin-chart/templates/src/MyChart.erb b/superset-frontend/packages/generator-superset/generators/plugin-chart/templates/src/MyChart.erb index 63e400b37..1b9a2b4a9 100644 --- a/superset-frontend/packages/generator-superset/generators/plugin-chart/templates/src/MyChart.erb +++ b/superset-frontend/packages/generator-superset/generators/plugin-chart/templates/src/MyChart.erb @@ -64,7 +64,7 @@ export default function <%= packageLabel %>(props: <%= packageLabel %>Props) { const rootElem = createRef(); - // Often, you just want to get a hold of the DOM and go nuts. + // Often, you just want to access the DOM and do whatever you want. // Here, you can do that with createRef, and the useEffect hook. useEffect(() => { const root = rootElem.current as HTMLElement;