Skip to content

Commit 0fe0b92

Browse files
committed
chore: linter fixes
1 parent 662934b commit 0fe0b92

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

apps/desktop/src/routes/_protected/database/$id/sql/-components/chat/chat-form.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function Images({ connectionId }: { connectionId: string }) {
2727
const store = connectionStore(connectionId)
2828
const files = useStore(store, state => state.files)
2929

30-
if (connectionId.length === 0) {
30+
if (files.length === 0) {
3131
return null
3232
}
3333

apps/desktop/src/routes/_protected/database/$id/sql/-components/chat/chat-messages.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ function UserMessage({ message, className, ...props }: { message: UIMessage } &
309309
</Button>
310310
{!isVisible && (
311311
<div className={`
312-
pointer-events-none absolute right-0 bottom-0 left-0 z-10 h-16
312+
pointer-events-none absolute inset-x-0 bottom-0 z-10 h-16
313313
bg-linear-to-t from-primary to-transparent
314314
`}
315315
/>

apps/web/src/routes/_layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ function MainLayout() {
2727
<div className="relative flex size-full items-center">
2828
<Navbar className="w-full" />
2929
<div className={`
30-
pointer-events-none absolute top-full right-0 left-0 h-10 w-full
30+
pointer-events-none absolute inset-x-0 top-full h-10 w-full
3131
overflow-hidden
3232
`}
3333
>

0 commit comments

Comments
 (0)