From 47279d1c3b0c346c78f880e85e686bbd6657f8eb Mon Sep 17 00:00:00 2001 From: Florian Bouillon Date: Mon, 21 Sep 2020 17:06:01 +0200 Subject: [PATCH] Fixed Apostrophe Signed-off-by: Florian Bouillon --- README.md | 4 ++-- src/cards/ProfileCard.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 2afab48..d90f761 100644 --- a/README.md +++ b/README.md @@ -103,10 +103,10 @@ With inbuilt themes you can customize the look of the card without doing any [ma Use `?theme=THEME_NAME` parameter like so :- ```md -![Aviortheking's Code::Stats stats](https://codestats-readme.vercel.app/api?username=aviortheking&theme=tokyonight) +![Aviortheking's Code::Stats stats](https://codestats-readme.vercel.app/api?username=aviortheking&show_icons=true&theme=nightowl) ``` -![Aviortheking's Code::Stats stats](https://codestats-readme.vercel.app/api?username=aviortheking&theme=tokyonight]) +![Aviortheking's Code::Stats stats](https://codestats-readme.vercel.app/api?username=aviortheking&show_icons=true&theme=nightowl]) #### All inbuilt themes :- diff --git a/src/cards/ProfileCard.tsx b/src/cards/ProfileCard.tsx index 6bd5ebc..ea8e5ab 100644 --- a/src/cards/ProfileCard.tsx +++ b/src/cards/ProfileCard.tsx @@ -65,7 +65,7 @@ export default class ProfileCard extends Card { ) this.title = `${encodeHTML(this.username)}${ - ['x', 's'].includes(this.username.slice(-1)) ? '' : 's' + ['x', 's'].includes(this.username.slice(-1)) ? '\'' : '\'s' } Code::Stats Profile` const textColor = getColor('text_color', options.text_color, options.theme)