Chore: Rename render method on classes which aren't actually react class components (#113808)

* rename canvas class method so it's not falsely marked as a react class component

* also rename scene method

* rename render method in OptionsPaneCategoryDescriptor and OptionsPaneItemDescriptor

* rename render to setup in test scenario class
This commit is contained in:
Ashley Harrison
2025-11-14 10:20:01 +00:00
committed by GitHub
parent 1535cfc17b
commit bfee2ecc65
21 changed files with 53 additions and 97 deletions
@@ -15,7 +15,6 @@ export interface RadialColorDefsOptions {
displayProcessor: DisplayProcessor;
}
// eslint-disable-next-line react-prefer-function-component/react-prefer-function-component
export class RadialColorDefs {
private colorToIds: Record<string, string> = {};
private defs: React.ReactNode[] = [];