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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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,