Skip to content

Commit

Permalink
Linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
harini-venkataraman committed Jul 11, 2024
1 parent 051f963 commit b1be8ba
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,13 @@ function JsonView({
<div className="combined-op-header">
<Tabs activeKey={activeKey} onChange={handleTabChange} moreIcon={<></>}>
<TabPane tab={<span>Default</span>} key={"0"}></TabPane>
{adapterData && adapterData?.map((adapter, index) => (
<TabPane
tab={<span>{adapter.llm_model}</span>}
key={(index + 1)?.toString()}
/>
))}
{adapterData &&
adapterData?.map((adapter, index) => (
<TabPane
tab={<span>{adapter.llm_model}</span>}
key={(index + 1)?.toString()}
/>
))}
</Tabs>
<div className="combined-op-segment"></div>
</div>
Expand Down
20 changes: 10 additions & 10 deletions frontend/src/components/custom-tools/tool-ide/ToolIde.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,17 +79,17 @@ function ToolIde() {
const closeLogsModal = () => {
setShowLogsModal(false);
};
useEffect(() => {
if (openShareModal) {
if (shareId) {
setOpenShareConfirmation(false);
setOpenShareLink(true);
} else {
setOpenShareConfirmation(true);
setOpenShareLink(false);
useEffect(() => {
if (openShareModal) {
if (shareId) {
setOpenShareConfirmation(false);
setOpenShareLink(true);
} else {
setOpenShareConfirmation(true);
setOpenShareLink(false);
}
}
}
}, [shareId, openShareModal]);
}, [shareId, openShareModal]);

const genExtra = () => (
<FullscreenOutlined
Expand Down

0 comments on commit b1be8ba

Please sign in to comment.