Skip to content

Commit

Permalink
username not found with base template
Browse files Browse the repository at this point in the history
  • Loading branch information
ignacio-cuadra committed Mar 23, 2023
1 parent 06c5379 commit 4de4fce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/templates/baseTemplate.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import svg from "../../^/git-graph/ts-nul-authority/file";
import svg from "../components/svg.js";

const baseTemplate = ({
title = "",
Expand Down
4 changes: 2 additions & 2 deletions src/templates/usernameNotFoundTemplate.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import card from "../components/card.js";
import label from "../components/label.js";
import face from "../components/face.js";
import sadFace from "../components/sadFace.js";
import baseTemplate from "./baseTemplate.js";

export default function usernameNotFoundTemplate() {
const backgroundColor = "#fffefe";
Expand All @@ -13,7 +13,7 @@ export default function usernameNotFoundTemplate() {
const height = 200;
const iconSize = 100;

return card({
return baseTemplate({
title: "Codewars Stats",
description: "Codewars Stats",
width: width,
Expand Down

0 comments on commit 4de4fce

Please sign in to comment.