Skip to content

Commit

Permalink
[Bugfix]: fixed project_name generation for cookiecutter in Footer.tsx (
Browse files Browse the repository at this point in the history
  • Loading branch information
Jibola authored Jan 3, 2024
1 parent d27ee8a commit 2ada2c4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
"use client"

import Link from "next/link"

const siteName: string = "{{cookiecutter.project_name}}"
import { siteName } from "../lib/utilities/generic"

const githubIcon = () => {
return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,14 @@ function tokenParser(token: string) {
return JSON.parse(Buffer.from(token.split(".")[1], "base64").toString())
}

const siteName = "{{ cookiecutter.project_name }}"

export {
generateUUID,
getTimeInSeconds,
tokenExpired,
getKeyByValue,
isValidHttpUrl,
tokenParser,
siteName,
}

0 comments on commit 2ada2c4

Please sign in to comment.