Skip to content

Commit

Permalink
fix app-tsx css classes
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikzogg committed Mar 16, 2024
1 parent a55621d commit 66fcbd6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ const App: Component<RouteSectionProps> = (props: RouteSectionProps) => {
<A
href="/pet"
class=" block px-4 py-2"
inactiveClass="bg-gray-300 ext-gray-900 hover:bg-gray-400"
inactiveClass="text-gray-900 bg-gray-300 hover:bg-gray-400"
activeClass="text-gray-100 bg-gray-700 hover:bg-gray-600"
>
Pets
Expand Down
4 changes: 2 additions & 2 deletions tests/app.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ test('close navigation', () => {
<li>
<a
href="/pet"
class="block px-4 py-2 bg-gray-300 ext-gray-900 hover:bg-gray-400"
class="block px-4 py-2 text-gray-900 bg-gray-300 hover:bg-gray-400"
link=""
>Pets</a
>
Expand Down Expand Up @@ -87,7 +87,7 @@ test('open navigation', async () => {
<li>
<a
href="/pet"
class="block px-4 py-2 bg-gray-300 ext-gray-900 hover:bg-gray-400"
class="block px-4 py-2 text-gray-900 bg-gray-300 hover:bg-gray-400"
link=""
>Pets</a
>
Expand Down

0 comments on commit 66fcbd6

Please sign in to comment.