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 2518600 commit 6bf9f56
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 @@ -37,7 +37,7 @@ const App: FC = () => {
`block px-4 py-2 ${
isActive
? 'text-gray-100 bg-gray-700 hover:bg-gray-600'
: 'bg-gray-300 ext-gray-900 hover:bg-gray-400'
: 'text-gray-900 bg-gray-300 hover:bg-gray-400'
}`
}
to="/pet"
Expand Down
4 changes: 2 additions & 2 deletions tests/app.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ test('close navigation', async () => {
<li>
<a
data-testid="navigation-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"
href="/pet"
>Pets</a
>
Expand Down Expand Up @@ -97,7 +97,7 @@ test('open navigation', async () => {
<li>
<a
data-testid="navigation-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"
href="/pet"
>Pets</a
>
Expand Down

0 comments on commit 6bf9f56

Please sign in to comment.