Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 0 additions & 24 deletions apps/web/src/routes/-routes.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -298,30 +298,6 @@ describe("route smoke tests", () => {
})
})

describe("/design-system", () => {
it("throws notFound in production", async () => {
const origDev = import.meta.env.DEV
try {
import.meta.env.DEV = false
const { Route } = await import("./design-system")
expect(() => Reflect.apply(Route.options.beforeLoad!, undefined, [])).toThrow()
} finally {
import.meta.env.DEV = origDev
}
})

it("allows loading in dev mode", async () => {
const origDev = import.meta.env.DEV
try {
import.meta.env.DEV = true
const { Route } = await import("./design-system")
expect(() => Reflect.apply(Route.options.beforeLoad!, undefined, [])).not.toThrow()
} finally {
import.meta.env.DEV = origDev
}
})
})

describe("404 Not Found", () => {
it("renders the not-found view", async () => {
const { Route } = await import("./__root")
Expand Down
11 changes: 0 additions & 11 deletions apps/web/src/routes/design-system.tsx

This file was deleted.

2 changes: 1 addition & 1 deletion apps/web/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export default defineConfig(({ mode }) => {
tailwindcss(),
tanstackStart(),
viteReact(),
bundleSizeGuard(2000), // Budget: 2000 KB per chunk max
bundleSizeGuard(1500), // Budget: 1500 KB per chunk max
],
// stellar-wallets-kit is ESM but its Freighter module imports named exports
// from @stellar/freighter-api which ships as CJS. Node's native ESM loader
Expand Down
4 changes: 2 additions & 2 deletions packages/ui/src/components/empty-state.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import type { VariantProps } from "class-variance-authority"
// ---------------------------------------------------------------------------

const emptyStateVariants = cva(
"flex flex-col items-center justify-center text-center",
"flex flex-col items-center justify-center text-center animate-in fade-in duration-500",
{
variants: {
variant: {
Expand All @@ -26,7 +26,7 @@ const emptyStateVariants = cva(
)

const iconWrapperVariants = cva(
"flex items-center justify-center rounded-full text-muted-foreground",
"flex items-center justify-center rounded-full text-muted-foreground animate-in fade-in zoom-in-75 duration-300",
{
variants: {
variant: {
Expand Down