Skip to content

Commit

Permalink
fix: 🐛 link always points to sl lang
Browse files Browse the repository at this point in the history
  • Loading branch information
jalezi committed Apr 8, 2024
1 parent 602759f commit 80a72fc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/SozialMarie/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,8 @@ if (DELAY_TO_HIDE_ALERT > DELAY_TO_HIDE_TRIGGER) {
throw new Error('DELAY_TO_HIDE_ALERT should be less than DELAY_TO_HIDE_TRIGGER');
}

const SOZIAL_MARIE_LINK = `https://www.sozialmarie.org/${i18n.language === 'it' ? 'en' : i18n.language}/projects/9280/`;

const SozialMarieBase = function SozialMarieBase() {
const SOZIAL_MARIE_LINK = `https://www.sozialmarie.org/${i18n.language === 'it' ? 'en' : i18n.language}/projects/9280/`;
const currentDate = new Date();
const countDownDate = currentDate < startDate ? startDate : endDate;
const isVoting = currentDate >= startDate && currentDate < endDate;
Expand Down

0 comments on commit 80a72fc

Please sign in to comment.