Skip to content

Commit

Permalink
chore(cloud panel): formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
LatentDream committed Apr 25, 2024
1 parent 6424edc commit 9928f98
Showing 1 changed file with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ export function CloudPanel() {
))}
<Separator />
<Button
className="text-center w-full gap-2 text-xs text-muted-foreground h-8"
className="h-8 w-full gap-2 text-center text-xs text-muted-foreground"
onClick={() => projectsQuery.refetch()}
variant={"link"}
disabled={projectsQuery.isFetching}
Expand Down Expand Up @@ -386,13 +386,9 @@ export function CloudPanel() {
<div className="flex flex-col items-center justify-center gap-2 p-2 text-sm">
<strong>No station found</strong>
{projectsQuery.data.length === 0 ? (
<p>
Select a test profile to load the available stations.
</p>
<p>Select a test profile to load the available stations.</p>
) : (
<p>
No station found for the selected test profile.
</p>
<p>No station found for the selected test profile.</p>
)}
</div>
)}
Expand All @@ -403,7 +399,7 @@ export function CloudPanel() {
))}
<Separator />
<Button
className="text-center w-full gap-2 text-xs text-muted-foreground h-8"
className="h-8 w-full gap-2 text-center text-xs text-muted-foreground"
onClick={() => stationsQuery.refetch()}
variant={"link"}
disabled={stationsQuery.isFetching}
Expand Down

0 comments on commit 9928f98

Please sign in to comment.