Skip to content

Commit

Permalink
reversed previous changes
Browse files Browse the repository at this point in the history
  • Loading branch information
bekossy committed Apr 26, 2024
1 parent 3ced37d commit 0802bc3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions agenta-web/src/components/Playground/ViewNavigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ interface Props {
onStateChange: (isDirty: boolean) => void
compareMode: boolean
tabID: React.MutableRefObject<string>
fetchData: () => Promise<void>
}

const useStyles = createUseStyles({
Expand All @@ -47,7 +46,6 @@ const ViewNavigation: React.FC<Props> = ({
onStateChange,
compareMode,
tabID,
fetchData,
}) => {
const classes = useStyles()
const router = useRouter()
Expand Down Expand Up @@ -247,7 +245,6 @@ const ViewNavigation: React.FC<Props> = ({
setIsDrawerOpen={setIsDrawerOpen}
isDrawerOpen={isDrawerOpen}
historyStatus={historyStatus}
fetchData={fetchData}
/>
</Col>
</Row>
Expand Down
3 changes: 0 additions & 3 deletions agenta-web/src/components/Playground/Views/ParametersView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ interface Props {
error: boolean
}>
>
fetchData: () => Promise<void>
}

const useStyles = createUseStyles({
Expand Down Expand Up @@ -91,7 +90,6 @@ const ParametersView: React.FC<Props> = ({
setIsDrawerOpen,
historyStatus,
setHistoryStatus,
fetchData,
}) => {
const classes = useStyles()
const posthog = usePostHogAg()
Expand Down Expand Up @@ -129,7 +127,6 @@ const ParametersView: React.FC<Props> = ({
content: "Changes saved successfully!",
onClose: () => handlePersistVariant(variant.variantName),
})
fetchData()
onStateChange(false)
res(true)
})
Expand Down

0 comments on commit 0802bc3

Please sign in to comment.