From 2d2f9497beac66bac568fba8ab83b667c84b7404 Mon Sep 17 00:00:00 2001 From: Max Stoiber Date: Wed, 4 Nov 2020 09:17:50 +0100 Subject: [PATCH] fix(gatsby-remark-autolink-headers): remove incorrect default value for icon option (#27821) --- packages/gatsby-remark-autolink-headers/src/gatsby-node.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/gatsby-remark-autolink-headers/src/gatsby-node.js b/packages/gatsby-remark-autolink-headers/src/gatsby-node.js index e3c63ea70e3c4..b8ee7535ea6fd 100644 --- a/packages/gatsby-remark-autolink-headers/src/gatsby-node.js +++ b/packages/gatsby-remark-autolink-headers/src/gatsby-node.js @@ -8,8 +8,7 @@ exports.pluginOptionsSchema = ({ Joi }) => .try(Joi.string(), Joi.boolean()) .description( `SVG shape inside a template literal or boolean 'false'. Set your own svg or disable icon.` - ) - .default(true), + ), className: Joi.string() .description(`Set your own class for the anchor.`) .default(`anchor`),