Skip to content

Commit

Permalink
update:add locale to kanban
Browse files Browse the repository at this point in the history
  • Loading branch information
maceteligolden committed Dec 26, 2023
1 parent 81010c9 commit 756a754
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/web/app/[locale]/kanban/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,12 @@ const Kanban = () => {
const { data } = useKanban();
const { activeTeam } = useOrganizationTeams();
const t = useTranslations();
const { locale } = useParams<{locale: string}>();


const [activeTab, setActiveTab] = useState(KanbanTabs.TODAY);

const breadcrumbPath = [{title: JSON.parse(t('pages.home.BREADCRUMB')), href: '/'}, {title: activeTeam?.name || '', href:'/'}, {title:'Kanban Board', href: '/kanban'}];
const breadcrumbPath = [{title: JSON.parse(t('pages.home.BREADCRUMB')), href: '/'}, {title: activeTeam?.name || '', href:'/'}, {title:'Kanban Board', href: `/${locale}/kanban`}];

const imageRadius = 20;
const numberOfImagesDisplayed = 4;
Expand Down

0 comments on commit 756a754

Please sign in to comment.