piyushgarg-dev / piyushgargdev-nextjs

https://piyushgarg.dev
177 stars 1.17k forks source link

[Bug]: You can use new X symbol instead of the previous Twitter symbol #795

Open InverseXenon opened 10 months ago

InverseXenon commented 10 months ago

Describe the bug

image The symbol of twitter is old and shall be used as a new one that is X.

To Reproduce

  1. Go to Home Page.
  2. On the Top Right corner see the twitter symbol.

Expected behavior

New X symbol instead of Twitter symbol

Screenshots/Videos

image

Additional context

No response

Please checkmark the following checklist

AmitSaha15 commented 10 months ago

I'm a beginner. I tried to simply import the icon from React icons. But it's showing me the following error "Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."

Can anyone help?

UmairRaaz commented 10 months ago

I'm a beginner. I tried to simply import the icon from React icons. But it's showing me the following error "Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."

Can anyone help?

I was also getting this issue because of this repo have old version of react-icons that's why it was not rendering latest icons i updated react-icons library and that issue get solved

AmitSaha15 commented 10 months ago

I'm a beginner. I tried to simply import the icon from React icons. But it's showing me the following error "Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports." Can anyone help?

I was also getting this issue because of this repo have old version of react-icons that's why it was not rendering latest icons i updated react-icons library and that issue get solved

Alright got it. Thanks. Change the logo in "Connect with me" section also.

image