Skip to content

Typescript build failures #31

@roderik

Description

@roderik

Was trying to build it and it failed with

♥ ❯ bun run tauri build

$ tauri build
     Running beforeBuildCommand `bun run build`
$ tsc && vite build
src/components/ClaudeCodeSession.tsx:13:3 - error TS6133: 'Square' is declared but its value is never read.

13   Square
     ~~~~~~

src/components/ClaudeCodeSession.tsx:33:1 - error TS6133: 'PreviewPromptDialog' is declared but its value is never read.

33 import { PreviewPromptDialog } from "./PreviewPromptDialog";
   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

src/components/ClaudeCodeSession.tsx:523:9 - error TS6133: 'handleOpenPreview' is declared but its value is never read.

523   const handleOpenPreview = () => {
            ~~~~~~~~~~~~~~~~~


Found 3 errors in the same file, starting at: src/components/ClaudeCodeSession.tsx:13

beforeBuildCommand `bun run build` failed with exit code 2
       Error beforeBuildCommand `bun run build` failed with exit code 2
error: script "tauri" exited with code 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions