Dashboard: link Utworz plan w karcie Nastepny trening (styl jak Zobacz wszystkie) zamiast przycisku
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { useEffect, useState, type ReactNode } from 'react';
|
||||
import { Link } from 'react-router-dom';
|
||||
import { CalendarPlus, Dumbbell, Flame, Megaphone, Play } from 'lucide-react';
|
||||
import { CalendarPlus, Dumbbell, Megaphone, Play } from 'lucide-react';
|
||||
import type { LucideIcon } from 'lucide-react';
|
||||
import { useActiveSession, useDashboard, useFeed } from '../api/queries';
|
||||
import { FeedItemRow } from '../components/FeedItemRow';
|
||||
@@ -493,11 +493,11 @@ export default function Dashboard() {
|
||||
</span>
|
||||
) : (
|
||||
!data.activePlan && (
|
||||
<Link to="/plans/new">
|
||||
<Button size="sm">
|
||||
<Flame className="h-4 w-4" />
|
||||
Utwórz plan
|
||||
</Button>
|
||||
<Link
|
||||
to="/plans/new"
|
||||
className="text-[0.8125rem] font-bold text-accent-text hover:underline"
|
||||
>
|
||||
Utwórz plan
|
||||
</Link>
|
||||
)
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user