File tree Expand file tree Collapse file tree
dev/react-plugin-tools/react_plugin_template/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717 * under the License.
1818 */
1919
20- export interface global { }
20+ export type global = object ;
2121
2222declare global {
23- var ChakraUISystem : SystemContext | undefined
23+ var ChakraUISystem : SystemContext | undefined ;
2424}
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ const PluginComponent: FC<PluginComponentProps> = (props) => {
3737 // Use the globalChakraUISystem provided by the Airflow Core UI,
3838 // so the plugin has a consistent theming with the host Airflow UI,
3939 // fallback to localSystem for local development.
40- const system = ( globalThis . ChakraUISystem ) ?? localSystem ;
40+ const system = ( globalThis . ChakraUISystem ) ?? localSystem ;
4141
4242 return (
4343 < ChakraProvider value = { system } >
Original file line number Diff line number Diff line change 1616 * specific language governing permissions and limitations
1717 * under the License.
1818 */
19-
20- /* eslint-disable perfectionist/sort-objects */
21-
22- /* eslint-disable max-lines */
2319import { createSystem , defaultConfig } from "@chakra-ui/react" ;
2420
2521export const localSystem = createSystem ( defaultConfig ) ;
You can’t perform that action at this time.
0 commit comments