refactor: update import paths for react/compiler-runtime to react-compiler-runtime
feat: add OpenClaude local agent playbook for setup and usage instructions chore: implement provider bootstrap script for profile initialization chore: create provider launch script to manage provider execution chore: add system check script for runtime diagnostics and validation feat: implement useEffectEventCompat hook for React 18 compatibility
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
import { c as _c } from "react/compiler-runtime";
|
||||
import { c as _c } from "react-compiler-runtime";
|
||||
import { feature } from 'bun:bundle';
|
||||
import figures from 'figures';
|
||||
import React, { type ReactNode, useEffect, useEffectEvent, useMemo, useRef, useState } from 'react';
|
||||
import React, { type ReactNode, useEffect, useMemo, useRef, useState } from 'react';
|
||||
import { isCoordinatorMode } from 'src/coordinator/coordinatorMode.js';
|
||||
import { useEffectEventCompat } from 'src/hooks/useEffectEventCompat.js';
|
||||
import { useTerminalSize } from 'src/hooks/useTerminalSize.js';
|
||||
import { useAppState, useSetAppState } from 'src/state/AppState.js';
|
||||
import { enterTeammateView, exitTeammateView } from 'src/state/teammateViewHelpers.js';
|
||||
@@ -321,7 +322,7 @@ export function BackgroundTasksDialog({
|
||||
|
||||
// Wrap onDone in useEffectEvent to get a stable reference that always calls
|
||||
// the current onDone callback without causing the effect to re-fire.
|
||||
const onDoneEvent = useEffectEvent(onDone);
|
||||
const onDoneEvent = useEffectEventCompat(onDone);
|
||||
useEffect(() => {
|
||||
if (viewState.mode !== 'list') {
|
||||
const task = (typedTasks ?? {})[viewState.itemId];
|
||||
|
||||
Reference in New Issue
Block a user