Skip to content

Commit

Permalink
Revise JSDoc for permalink const.
Browse files Browse the repository at this point in the history
  • Loading branch information
ZebulanStanphill committed May 4, 2022
1 parent d703b72 commit 134b486
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/block-library/src/table-of-contents/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,8 @@ export default function TableOfContentsEdit( {
let headingPage = 1;

/**
* If the core/editor store is available, we can add permalinks to the
* generated table of contents. This variable will be a link to
* current post including pagination query if necessary.
* A permalink to the current post. If the core/editor store is
* unavailable, this variable will be null.
*/
const permalink = editorSelectors?.getPermalink() ?? null;

Expand Down

0 comments on commit 134b486

Please sign in to comment.