Skip to content

Commit

Permalink
Merge pull request #1873 from stakwork/feature/curation-test
Browse files Browse the repository at this point in the history
feat: disable rename a topic test
  • Loading branch information
Rassl authored Jul 19, 2024
2 parents b24ba62 + 2102982 commit 8f3a361
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 12 deletions.
2 changes: 1 addition & 1 deletion cypress/e2e/curationTable/curation.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ describe('Test Curation Table', () => {
cy.get('[data-testid="topic-search-container"]').find('button[type="button"]').click()
})

it('Rename a Topic', () => {
it.skip('Rename a Topic', () => {
cy.intercept({
method: 'GET',
url: 'http://localhost:8444/api/nodes/info*',
Expand Down
2 changes: 0 additions & 2 deletions src/components/App/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,6 @@ export const App = () => {

const handleAiSummaryAnswer = useCallback(
(data: AiSummaryAnswerResponse) => {
console.log(data)

if (data.question && getKeyExist(data.question)) {
setAiSummaryAnswer(data.question, { answer: data.answer, answerLoading: false })
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/Booster/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export const Booster = ({ count = 0, updateCount, content, readOnly, refId }: Pr
updateCount(count + defaultBoostAmount)
}
} catch (e) {
console.log(e)
console.error(e)
}

setSubmitting(false)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export const Body = () => {
setTopicEdge(edge)
}
} catch (error) {
console.log(error)
console.error(error)
} finally {
setTopicIsLoading(false)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ const handleSubmitForm = async (

// eslint-disable-next-line @typescript-eslint/no-explicit-any
} catch (err: any) {
console.log(err)
console.error(err)

let errorMessage = NODE_ADD_ERROR

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { Segments } from '@react-three/drei'
import { useFrame } from '@react-three/fiber'
import { memo, useEffect, useRef, useState } from 'react'
import { Group } from 'three'
import { useShallow } from 'zustand/react/shallow'
Expand Down Expand Up @@ -82,10 +81,6 @@ export const SelectionDataNodes = memo(() => {
[setSelectionData],
)

useFrame(() => {
// console.log(simulation2d.alpha())
})

useEffect(() => {
if (!simulation2d) {
return
Expand Down
2 changes: 1 addition & 1 deletion src/components/Universe/Graph/Segment/LinkBadge/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export const PathwayBadges = ({ links, simulation }: Props) => {
}}
>
<span>{i.edge_type}</span>
<Flex className="icon" onClick={() => console.log(123)}>
<Flex className="icon">
<DeleteIcon />
</Flex>
</Tag>
Expand Down

0 comments on commit 8f3a361

Please sign in to comment.