Skip to content

Railway Deployment #977a7a fix: remove unused useMe import - #4

Merged
danijeun merged 1 commit into
mainfrom
railway/fix-deploy-977a7a
Apr 26, 2026
Merged

Railway Deployment #977a7a fix: remove unused useMe import#4
danijeun merged 1 commit into
mainfrom
railway/fix-deploy-977a7a

Conversation

@danijeun

Copy link
Copy Markdown
Owner

Problem

The Dockerfile build fails at the web-builder stage because tsc -b exits with code 2. TypeScript reports error TS6133: 'useMe' is declared but its value is never read for the unused import in web/src/pages/Artifact.tsx. The web/tsconfig.app.json has "noUnusedLocals": true, which treats this as a hard error.

Solution

Removed the unused import { useMe } from "../auth" line from web/src/pages/Artifact.tsx. The hook is never called anywhere in the file, so the import is safe to delete. This eliminates the TS6133 error and allows tsc -b and the subsequent Vite build to complete successfully.

Changes

  • Modified web/src/pages/Artifact.tsx

Context

  • Deployment: #977a7a
  • Failed commit: 6fc825a

Generated by Railway

@danijeun
danijeun merged commit 03b9094 into main Apr 26, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant