(filePath: string)
| 886 | }; |
| 887 | |
| 888 | const handleOpenInFilePreview = (filePath: string) => { |
| 889 | const absolutePath = `${worktreePath}/${filePath}`; |
| 890 | setFileViewerPath(absolutePath); |
| 891 | if (diffDisplayMode !== "side-peek") { |
| 892 | setDiffSidebarOpen(false); |
| 893 | } |
| 894 | }; |
| 895 | |
| 896 | return ( |
| 897 | <> |