Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
Signed-off-by: Yulong Ruan <[email protected]>
  • Loading branch information
ruanyl committed Aug 7, 2024
1 parent eda61b9 commit a223bb8
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ export class Page {
*/
if (content.kind === 'dashboard' || sectionContents.some((c) => c.kind === 'dashboard')) {
sectionContents.length = 0;
console.warn('Section type "dashboard" can only have one content type of "dashboard"');
}
sectionContents.push(content);
// sort content by order
Expand Down

0 comments on commit a223bb8

Please sign in to comment.