Skip to content

Commit

Permalink
format: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ncpa0cpl committed Dec 13, 2024
1 parent 263c5c1 commit bb16d08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
5 changes: 1 addition & 4 deletions src/gjs-elements/gtk3/grid/grid-item.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,7 @@ export type GridItemEvents = {
itemUpdated: [GridItemElement];
};

export class GridItemElement
extends BaseElement
implements GjsElement<"GRID_ITEM">
{
export class GridItemElement extends BaseElement implements GjsElement<"GRID_ITEM"> {
static getContext(
currentContext: HostContext<GjsContext>,
): HostContext<GjsContext> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,7 @@ export const createChildPropsMapper = (
getParent: () => undefined | null | GjsElement,
): CaseCollectorCallback<any> => {
return (_, { addCustomCase, lifecycle, props }) => {
const childProps = Object.getOwnPropertyNames(props).filter((n) =>
n.startsWith(CHILD_PROP_PREFIX),
);
const childProps = Object.getOwnPropertyNames(props).filter((n) => n.startsWith(CHILD_PROP_PREFIX));

if (childProps.length > 0) {
const afterMount = () => {
Expand Down

0 comments on commit bb16d08

Please sign in to comment.