Skip to content

Commit

Permalink
add var usage
Browse files Browse the repository at this point in the history
  • Loading branch information
hiba9201 committed Dec 10, 2023
1 parent a0a888f commit 0bfc882
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/components/MainPage/MainPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export function MainPage({ cards, cardsDynamicData, marqueeItems, articles }: Ma
return;
}

if (e.state.articleSlug) {
if (slug) {
const article = articles.find((a) => a.slug === slug);

if (!article) {
Expand Down

1 comment on commit 0bfc882

@ekbdev
Copy link

@ekbdev ekbdev commented on 0bfc882 Dec 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for transport ready!

✅ Preview
https://transport-nw0nue0p3-ekbdev.vercel.app
https://ekbdev-transport-feat-article-modals.vercel.app

Built with commit 0bfc882.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.