From 7aec5d2e6fcbcb425bbc5caa406dc9c78a22f3c1 Mon Sep 17 00:00:00 2001 From: Aaron Yarborough <3855819+AaronJY@users.noreply.github.com> Date: Sun, 16 Mar 2025 12:16:21 +0000 Subject: [PATCH] chore: bump version --- package.json | 2 +- public/sitemap-0.xml | 18 +++++++++--------- src/components/Article/Article.jsx | 8 +++----- 3 files changed, 13 insertions(+), 15 deletions(-) diff --git a/package.json b/package.json index 564a277..67310e9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "www-aaronjy-2024", - "version": "1.3.0.0", + "version": "1.3.1.0", "private": true, "type": "module", "scripts": { diff --git a/public/sitemap-0.xml b/public/sitemap-0.xml index 3ac5a1d..a26eeee 100644 --- a/public/sitemap-0.xml +++ b/public/sitemap-0.xml @@ -1,12 +1,12 @@ -https://www.aaronjy.me/2025-03-16T12:07:35.190Zweekly0.7 -https://www.aaronjy.me/about/2025-03-16T12:07:35.190Zweekly0.7 -https://www.aaronjy.me/cv/2025-03-16T12:07:35.190Zweekly0.7 -https://www.aaronjy.me/writing/2025-03-16T12:07:35.190Zweekly0.7 -https://www.aaronjy.me/writing/moving-from-github-to-forgejo/2025-03-16T12:07:35.190Zweekly0.7 -https://www.aaronjy.me/writing/performance-considerations-tcp-game-server/2025-03-16T12:07:35.190Zweekly0.7 -https://www.aaronjy.me/writing/quick-reflection-katherine-may/2025-03-16T12:07:35.190Zweekly0.7 -https://www.aaronjy.me/writing/static-site-on-google-cloud/2025-03-16T12:07:35.190Zweekly0.7 -https://www.aaronjy.me/writing/support-content-filte-structure-changes-on-a-static-site/2025-03-16T12:07:35.190Zweekly0.7 +https://www.aaronjy.me/2025-03-16T12:15:48.863Zweekly0.7 +https://www.aaronjy.me/about/2025-03-16T12:15:48.864Zweekly0.7 +https://www.aaronjy.me/cv/2025-03-16T12:15:48.864Zweekly0.7 +https://www.aaronjy.me/writing/2025-03-16T12:15:48.864Zweekly0.7 +https://www.aaronjy.me/writing/moving-from-github-to-forgejo/2025-03-16T12:15:48.864Zweekly0.7 +https://www.aaronjy.me/writing/performance-considerations-tcp-game-server/2025-03-16T12:15:48.864Zweekly0.7 +https://www.aaronjy.me/writing/quick-reflection-katherine-may/2025-03-16T12:15:48.864Zweekly0.7 +https://www.aaronjy.me/writing/static-site-on-google-cloud/2025-03-16T12:15:48.864Zweekly0.7 +https://www.aaronjy.me/writing/support-content-filte-structure-changes-on-a-static-site/2025-03-16T12:15:48.864Zweekly0.7 \ No newline at end of file diff --git a/src/components/Article/Article.jsx b/src/components/Article/Article.jsx index 3958fdf..b698976 100644 --- a/src/components/Article/Article.jsx +++ b/src/components/Article/Article.jsx @@ -1,17 +1,15 @@ import { formatDate } from '@/lib/helpers' import { NextSeo } from 'next-seo' import Link from 'next/link' -import React from 'react' +import React, { useEffect } from 'react' import 'highlight.js/styles/atom-one-dark.css' import hljs from 'highlight.js' -import { useEffect } from 'react' function Article ({ attributes, html }) { - useEffect(() => { - hljs.highlightAll(); - }, [attributes, html]); + hljs.highlightAll() + }, [attributes, html]) return ( <>

{attributes.title}