Skip to content

Commit

Permalink
correct logo path
Browse files Browse the repository at this point in the history
  • Loading branch information
webknit committed Oct 2, 2023
1 parent bcfb954 commit 0212a0c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/LogoGC/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import logoSVG from "../../assets/logogc.svg";
import logoGCSVG from "../../assets/logogc.svg";

/**
* @usage
Expand All @@ -8,7 +8,7 @@ import logoSVG from "../../assets/logogc.svg";
*/

export function LogoGC(props: any) {
const LogoPath = props.url || logoSVG;
const LogoPath = props.url || logoGCSVG;
const image =
typeof LogoPath === "string" ? (
<img src={props.url} alt={props.alt} className="logo__image" />
Expand Down
2 changes: 1 addition & 1 deletion stories/components/Logo.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import LogoComponent from "../../lib/LogoGC";
import LogoComponent from "../../lib/Logo";
import StoryItem from "../styleguide/StoryItem";

export default {
Expand Down

0 comments on commit 0212a0c

Please sign in to comment.