Skip to content

Commit 2996c26

Browse files
committed
fix: update hero-ascii.tsx to use global style tag and import sql from drizzle-orm in api.health.tsx
1 parent 9e4b2ea commit 2996c26

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

app/components/ui/hero-ascii.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ export default function Home() {
211211
</div>
212212
</div>
213213

214-
<style jsx>{`
214+
<style>{`
215215
.dither-pattern {
216216
background-image:
217217
repeating-linear-gradient(0deg, transparent 0px, transparent 1px, white 1px, white 2px),

app/routes/api.health.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import type { LoaderFunctionArgs } from "@remix-run/node";
22
import { db } from "~/lib/db.server";
33
import { env } from "~/lib/env.server";
4+
import { sql } from "drizzle-orm";
45

56
/**
67
* Health Check API
@@ -32,7 +33,6 @@ export async function loader() {
3233

3334
try {
3435
// Run a simple query to verify database is actually working
35-
const { sql } = await import("drizzle-orm");
3636
await db.execute(sql`SELECT 1 as connected`);
3737

3838
const responseTime = Date.now() - startTime;

0 commit comments

Comments
 (0)