Skip to content

Commit

Permalink
fixing ci
Browse files Browse the repository at this point in the history
  • Loading branch information
jespino committed Jan 10, 2025
1 parent 1e3d156 commit bd8c6b8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion webapp/src/components/modals/ai_modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const AIModal = ({playbookRunId, onAccept, onClose, isOpen}: Props) => {
const intl = useIntl();
const [copied, setCopied] = useState(false);
const [instruction, setInstruction] = useState('');
const suggestionBox = useRef<HTMLDivElement>();
const suggestionBox = useRef<HTMLDivElement|null>(null);
const BotSelector = useBotSelector() as any;
const useBotlist = useBotsLoaderHook() as any;
const {bots, activeBot, setActiveBot} = useBotlist();
Expand Down
4 changes: 3 additions & 1 deletion webapp/src/components/modals/update_run_status_modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -566,9 +566,11 @@ const AiModalContainer = styled.div`
box-shadow: var(--elevation-6);
`;

const LastChangeSince = styled.div`
const LastChangeSince = styled.div<{disabled: boolean}>`
display: flex;
justify-content: space-between;
pointer-events: ${props => props.disabled ? 'none' : 'auto'};

Check failure on line 572 in webapp/src/components/modals/update_run_status_modal.tsx

View workflow job for this annotation

GitHub Actions / lint

Arrow function used ambiguously with a conditional expression

Check failure on line 572 in webapp/src/components/modals/update_run_status_modal.tsx

View workflow job for this annotation

GitHub Actions / lint

Expected parentheses around arrow function argument
>div {
margin: 24px 0 8px 0;
}
Expand Down

0 comments on commit bd8c6b8

Please sign in to comment.