Skip to content

Commit c7df482

Browse files
committed
removed console.log
1 parent 17239e9 commit c7df482

2 files changed

Lines changed: 0 additions & 3 deletions

File tree

app/api/knowledge_graph/helper.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,6 @@ export const resolve_results = async ({
174174
const relation_id = `${nodes[relation.start].data.label}_${nodes[relation.end].data.label}`
175175
if (edges[relation_id] === undefined) {
176176
const relation_type = relation.type
177-
console.log(`${relation_type} ${colors[relation_type].edge_suffix}`)
178177
edges[relation_id] = {
179178
data: {
180179
source: nodes[relation.start].data.id,

utils/client_side.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@ import { AppRouterInstance } from "next/dist/shared/lib/app-router-context.share
33
import { useRef, useEffect } from "react"
44
export const router_push = (router: AppRouterInstance, pathname:string, query: {[key: string]: string|number|boolean }) => {
55
const newSearchParams = Object.entries(query).map(([k,v])=>`${k}=${v}`).join('&')
6-
console.log(pathname + '?' + newSearchParams.toString())
76
router.push(pathname + '?' + newSearchParams.toString())
8-
console.log(newSearchParams)
97
}
108

119
export const usePrevious = (value) => {

0 commit comments

Comments
 (0)