mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Enforce member-delimiter-style using eslint (#4870)
This commit is contained in:
1 parent
1c7641708e
commit
600bd659f6
158 files changed
+304
-294
No files matched your search
@@ -16,7 +16,7 @@ import { navigate } from "../../navigation";
|
||||
import { catalogCategoryRegistry } from "../../api/catalog-category-registry";
|
||||
|
||||
export type CatalogAddButtonProps = {
|
||||
category: CatalogCategory
|
||||
category: CatalogCategory;
|
||||
};
|
||||
|
||||
type CategoryId = string;
|
||||
|
||||
@@ -11,7 +11,7 @@ import { CatalogCategory, catalogCategoryRegistry } from "../../../../common/cat
|
||||
import { autoBind, disposer } from "../../../../common/utils";
|
||||
|
||||
interface Dependencies {
|
||||
registry: CatalogEntityRegistry
|
||||
registry: CatalogEntityRegistry;
|
||||
}
|
||||
|
||||
export class CatalogEntityStore extends ItemStore<CatalogEntity> {
|
||||
|
||||
@@ -9,7 +9,7 @@ import { MenuItem } from "../menu";
|
||||
|
||||
import type { CatalogEntity } from "../../api/catalog-entity";
|
||||
|
||||
export function HotbarToggleMenuItem(props: { entity: CatalogEntity, addContent: ReactNode, removeContent: ReactNode }) {
|
||||
export function HotbarToggleMenuItem(props: { entity: CatalogEntity; addContent: ReactNode; removeContent: ReactNode }) {
|
||||
const store = HotbarStore.getInstance();
|
||||
const [itemInHotbar, setItemInHotbar] = useState(store.isAddedToActive(props.entity));
|
||||
|
||||
|
||||
Reference in new issue
Block a user