Skip to content

Commit

Permalink
Fix lint errors
Browse files Browse the repository at this point in the history
Signed-off-by: Marcos Candeia <[email protected]>
  • Loading branch information
mcandeia committed Jul 23, 2024
1 parent 8b417c8 commit 7fbc0e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions blocks/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ const page = createSectionBlock(
Component: (p) => <ComponentFunc {...p} />,
props,
metadata: { resolveChain, component },
LoadingFallback: () => <></>,
}),
"pages",
);
Expand Down
3 changes: 1 addition & 2 deletions engine/decofile/fsFolder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ export const BLOCKS_FOLDER = "blocks";
export const METADATA_FOLDER = "metadata";
export const BLOCKS_JSON = "blocks.json";

export const METADATA_PATH =
`${DECO_FOLDER}/${METADATA_FOLDER}/${BLOCKS_JSON}`;
export const METADATA_PATH = `${DECO_FOLDER}/${METADATA_FOLDER}/${BLOCKS_JSON}`;

export const parseBlockId = (filename: string) =>
decodeURIComponent(filename.slice(0, filename.length - ".json".length));
Expand Down

0 comments on commit 7fbc0e5

Please sign in to comment.