Skip to content

Commit

Permalink
Update frontend/packages/erd-core/src/features/gtm/utils/openRelatedT…
Browse files Browse the repository at this point in the history
…ablesLogEvent.ts

Co-authored-by: Junki Saito <[email protected]>
  • Loading branch information
sasamuku and junkisai committed Dec 20, 2024
1 parent 486286a commit f9dc85e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { convertDBStructureToNodes } from '@/components/ERDRenderer/convertDBStructureToNodes'
import { OpenRelatedTablesLogEvent } from '@/features/gtm/utils'
import { openRelatedTablesLogEvent } from '@/features/gtm/utils'
import {
replaceHiddenNodeIds,
updateActiveTableName,
Expand Down Expand Up @@ -34,7 +34,7 @@ export const RelatedTables: FC<Props> = ({ table }) => {

replaceHiddenNodeIds(hiddenNodeIds)
updateActiveTableName(undefined)
OpenRelatedTablesLogEvent({
openRelatedTablesLogEvent({
tableId: table.name,
})
}, [nodes, getNodes, table.name])
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ type OpenRelatedTablesLogEvent = {
tableId: string
}

export const OpenRelatedTablesLogEvent = ({
export const openRelatedTablesLogEvent = ({
tableId,
}: OpenRelatedTablesLogEvent) => {
pushToDataLayer({
Expand Down

0 comments on commit f9dc85e

Please sign in to comment.