From 61ad8f80309f09985a98ba2e56f0c5d9338d5c08 Mon Sep 17 00:00:00 2001 From: "sweep-ai[bot]" <128439645+sweep-ai[bot]@users.noreply.github.com> Date: Mon, 15 Jan 2024 06:04:55 +0000 Subject: [PATCH 1/2] feat: Updated src/components/About/Github.tsx --- src/components/About/Github.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/About/Github.tsx b/src/components/About/Github.tsx index bc259a80..e3938f54 100644 --- a/src/components/About/Github.tsx +++ b/src/components/About/Github.tsx @@ -1,16 +1,18 @@ -import React from "react"; +import React, { useState } from "react"; import GitHubCalendar from "react-github-calendar"; import { Row } from "react-bootstrap"; import { githubUsername } from "../data"; +import { githubUsername } from "../data"; function Github() { + const [newGitHubUsername, setNewGitHubUsername] = useState("validGitHubUsername"); return (

Days I Code

Date: Mon, 15 Jan 2024 06:05:16 +0000 Subject: [PATCH 2/2] style: format code with Prettier and StandardJS This commit fixes the style issues introduced in 61ad8f8 according to the output from Prettier and StandardJS. Details: https://github.com/FleetAdmiralJakob/Portfolio/pull/404 --- src/components/About/Github.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/About/Github.tsx b/src/components/About/Github.tsx index e3938f54..165d3d7a 100644 --- a/src/components/About/Github.tsx +++ b/src/components/About/Github.tsx @@ -5,7 +5,9 @@ import { githubUsername } from "../data"; import { githubUsername } from "../data"; function Github() { - const [newGitHubUsername, setNewGitHubUsername] = useState("validGitHubUsername"); + const [newGitHubUsername, setNewGitHubUsername] = useState( + "validGitHubUsername", + ); return (