Skip to content

Commit

Permalink
pfe-107 Removed changes in index for brand payex image
Browse files Browse the repository at this point in the history
  • Loading branch information
PriJoh committed Dec 17, 2024
1 parent 171ba7e commit 93e1b05
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/App/ComponentsDocumentation/components/Card/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import CardComponent from "@components/Card";

import MediaObject from "@components/MediaObject";
import CodeTags from "@components/CodeTags";
//import { overviewCards } from "./constants";
import { overviewCards } from "./constants";

const textArr = [
"This is a lot of text",
Expand All @@ -20,12 +20,6 @@ const textArr = [
const basename = process.env.basename;
const brand = process.env.brand;

const constants = brand === "payex"
? require("./constantspayex") // Hämtar payex-konstanten
: require("./constants"); // Hämtar swedbankpay-konstanten

export const { overviewCards } = constants;

const Overview = () => {
return (
<>
Expand Down

0 comments on commit 93e1b05

Please sign in to comment.