mirror of
https://github.com/openai/codex.git
synced 2026-05-06 06:12:59 +03:00
cleanup
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
// Thin re‑export shim so test files that import `image-picker-overlay.js`
|
||||
// continue to work even though the real component is authored in TypeScript.
|
||||
//
|
||||
// We deliberately keep this file in plain JavaScript so Node can resolve it
|
||||
// without the “.tsx” extension when running under ts-node/esm in the test
|
||||
// environment.
|
||||
|
||||
export { default } from "./image-picker-overlay.tsx";
|
||||
@@ -5,8 +5,8 @@ import { Box, Text, useInput, useStdin } from "ink";
|
||||
|
||||
import SelectInput from "../select-input/select-input.js";
|
||||
|
||||
import { getDirectoryItems } from "../../utils/image-picker-utils.js";
|
||||
import type { PickerItem } from "../../utils/image-picker-utils.js";
|
||||
import { getDirectoryItems } from "../../utils/image-picker-utils";
|
||||
import type { PickerItem } from "../../utils/image-picker-utils";
|
||||
import React, { useMemo, useRef } from "react";
|
||||
|
||||
interface Props {
|
||||
|
||||
@@ -29,7 +29,7 @@ import { useInterval } from "use-interval";
|
||||
|
||||
// Internal imports
|
||||
// Image picker overlay triggered by "@" sentinel
|
||||
import ImagePickerOverlay from "./image-picker-overlay.js";
|
||||
import ImagePickerOverlay from "./image-picker-overlay";
|
||||
|
||||
const suggestions = [
|
||||
"explain this codebase to me",
|
||||
|
||||
Reference in New Issue
Block a user