mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
[extensions]: removed passing registry in first argument to register hooks
Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
1 parent
cee4d1ea1f
commit
d872e073e3
10 files changed
+33
-33
No files matched your search
@@ -1,5 +1,5 @@
|
||||
import { LensRendererExtension, Registry } from "@k8slens/extensions";
|
||||
import { ExamplePage, ExampleIcon } from "./page"
|
||||
import { LensRendererExtension } from "@k8slens/extensions";
|
||||
import { ExampleIcon, ExamplePage } from "./page"
|
||||
import React from "react"
|
||||
|
||||
export default class ExampleExtension extends LensRendererExtension {
|
||||
@@ -7,7 +7,7 @@ export default class ExampleExtension extends LensRendererExtension {
|
||||
console.log('EXAMPLE EXTENSION RENDERER: ACTIVATED', this.getMeta());
|
||||
}
|
||||
|
||||
registerClusterPage(registry: Registry.ClusterPageRegistry) {
|
||||
registerClusterPage() {
|
||||
return [
|
||||
{
|
||||
path: "/extension-example",
|
||||
|
||||
Reference in new issue
Block a user