Skip to content

Commit 8571a85

Browse files
committed
add todo
Signed-off-by: Craig Jellick <[email protected]>
1 parent 9a3f5f1 commit 8571a85

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/chat/messages/calls/callFrames.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import { AiOutlineLoading3Quarters } from 'react-icons/ai';
66
import { JSONTree } from 'react-json-tree';
77

88
const CallFrames = ({ calls }: { calls: Record<string, CallFrame> | null }) => {
9+
// TODO Move this to before the final return so that we aren't disobeying the rules of hooks
910
if (!calls) return null;
1011

1112
// eslint-disable-next-line react-hooks/rules-of-hooks

0 commit comments

Comments
 (0)