From 471cfe2166562fe95fee4f952e177872f0098c61 Mon Sep 17 00:00:00 2001 From: Patrick Yeo Date: Mon, 27 Jan 2020 10:11:35 -0800 Subject: [PATCH] fix(clayui.com): SF --- clayui.com/plugins/gatsby-remark-typography/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/clayui.com/plugins/gatsby-remark-typography/index.js b/clayui.com/plugins/gatsby-remark-typography/index.js index 3620511018..b7d8287ea3 100644 --- a/clayui.com/plugins/gatsby-remark-typography/index.js +++ b/clayui.com/plugins/gatsby-remark-typography/index.js @@ -15,7 +15,6 @@ module.exports = ({markdownAST}) => { node.depth === 4 || node.depth === 5 ) { - let id = node.children[0].value .toLowerCase() .split(' ') @@ -34,7 +33,7 @@ module.exports = ({markdownAST}) => { node.data = { hProperties: { class: `clay-h${node.depth}`, - id: id, + id }, }; }