From 6584140237bf697aed8d65e0e53891be4e09ca61 Mon Sep 17 00:00:00 2001 From: Conrad Date: Thu, 9 Jan 2020 22:58:19 +0100 Subject: [PATCH] Improved Variable Naming --- src/pages/history.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/history.js b/src/pages/history.js index 469531c..d758ae8 100644 --- a/src/pages/history.js +++ b/src/pages/history.js @@ -2,12 +2,12 @@ import React from "react" import Header from "../components/header" var dateFormat = require("dateformat") -const GIT_NAME = "creyD" +const GIT_OWNER = "creyD" const GIT_REPO = "urban_website" const GIT_URL = - "https://api.github.com/repos/" + GIT_NAME + "/" + GIT_REPO + "/events" + "https://api.github.com/repos/" + GIT_OWNER + "/" + GIT_REPO + "/events" const GIT_COMMIT_URL = - "https://github.com/" + GIT_NAME + "/" + GIT_REPO + "/commit/" + "https://github.com/" + GIT_OWNER + "/" + GIT_REPO + "/commit/" // Format the date provided by the GitHub API function getDateFormatted(unformated_date) {