Skip to content

Commit

Permalink
Revert "Add lint errors to test ci reporting"
Browse files Browse the repository at this point in the history
This reverts commit 640dcde.
  • Loading branch information
sverhoeven committed Aug 2, 2024
1 parent 98a8576 commit 3ea691e
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions apps/class-solid/src/components/Nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,13 @@ import { useLocation } from "@solidjs/router";

export default function Nav() {
const location = useLocation();
const foo = 'bar'
if (42 == '42') {
console.log('foo')
}

const active = (path: string) =>
path === location.pathname
? "border-sky-600"
: "border-transparent hover:border-sky-600";
return (
<nav class="bg-sky-800">
<ul class="container flex items-center p-3 text-gray-200 block">
<ul class="container flex items-center p-3 text-gray-200">
<li class={`border-b-2 ${active("/")} mx-1.5 sm:mx-6`}>
<a href="/">CLASS</a>
</li>
Expand Down

0 comments on commit 3ea691e

Please sign in to comment.