Skip to content

Commit

Permalink
wrong lint-staged configuration made a mess
Browse files Browse the repository at this point in the history
  • Loading branch information
sphinxrave committed Oct 24, 2023
1 parent b2c0743 commit 06e8028
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions packages/react/src/components/header/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export function Header({ id }: HeaderProps) {
const { logout } = useAuth();

return (
<header id={id} className="bg-base-2 z-40 flex items-center gap-4 px-2">
<header id={id} className="z-40 flex items-center gap-4 bg-base-2 px-2">
<Button
size="icon"
variant="ghost"
Expand All @@ -45,15 +45,15 @@ export function Header({ id }: HeaderProps) {
<Button
size="icon"
variant="ghost"
className="text-base-9 -ml-3 p-0"
className="-ml-3 p-0 text-base-9"
onClick={() => toggle(!dark)}
>
<div className="i-heroicons:magnifying-glass h-full text-xl" />
</Button>
<Button
size="icon"
variant="ghost"
className="text-base-9 p-0"
className="p-0 text-base-9"
onClick={() => toggle(!dark)}
>
<div className="i-heroicons:sun-20-solid h-full text-xl " />
Expand Down
4 changes: 2 additions & 2 deletions packages/react/src/components/header/searchbar/QueryBadge.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export function QueryBadge({ item }: { item: PrimitiveAtom<QueryItem> }) {
<Badge key={queryItem.value} variant="primary">
{queryItem.text}
<button
className="ring-offset-base-2 focus:ring-primary-9 ml-1 rounded-full outline-none focus:ring-2 focus:ring-offset-2"
className="ml-1 rounded-full outline-none ring-offset-base-2 focus:ring-2 focus:ring-primary-9 focus:ring-offset-2"
onKeyDown={(e) => {
if (e.key === "Enter") {
querySplitItemAction({ type: "remove", atom: item });
Expand All @@ -24,7 +24,7 @@ export function QueryBadge({ item }: { item: PrimitiveAtom<QueryItem> }) {
}}
onClick={() => querySplitItemAction({ type: "remove", atom: item })}
>
<X className="text-base-8 hover:text-base-11 h-3 w-3" />
<X className="h-3 w-3 text-base-8 hover:text-base-11" />
</button>
</Badge>
);
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/components/header/searchbar/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,4 +115,4 @@ watch(search, (newValue) => {
}
})

```
```

0 comments on commit 06e8028

Please sign in to comment.