Stats card: remove duplicate hide option default value from render function (#2845)

This commit is contained in:
Alexandr Garbuzov
2023-06-17 12:14:24 +03:00
committed by GitHub
parent c5d4bcbc1a
commit 6cbb08e218
+1 -1
View File
@@ -78,7 +78,7 @@ const createTextNode = ({
* @param {Partial<import("./types").StatCardOptions>} options The card options.
* @returns {string} The stats card SVG object.
*/
const renderStatsCard = (stats = {}, options = { hide: [] }) => {
const renderStatsCard = (stats = {}, options = {}) => {
const {
name,
totalStars,