feat(simplify ENABLE_RSS checks): remove useless JSON.parse calls

This commit is contained in:
anime
2025-04-12 03:24:03 +08:00
parent 40b206b39b
commit b946a08ba0
7 changed files with 230 additions and 112 deletions

View File

@@ -82,7 +82,7 @@ const SocialButton = () => {
<i className='transform hover:scale-125 duration-150 fas fa-envelope dark:hover:text-indigo-400 hover:text-indigo-600' />
</a>
)}
{JSON.parse(ENABLE_RSS) && (
{ENABLE_RSS && (
<a
target='_blank'
rel='noreferrer'