From be12d94a870586f18d14490c07d8bb964c6f5a40 Mon Sep 17 00:00:00 2001 From: chgayane Date: Thu, 9 Nov 2023 14:53:48 +0400 Subject: [PATCH] #3475 - fixed Sugar-R3 and Base-R1 connnection --- packages/ketcher-core/src/domain/entities/RNABase.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/ketcher-core/src/domain/entities/RNABase.ts b/packages/ketcher-core/src/domain/entities/RNABase.ts index 8c8c99815b..c81f88e094 100644 --- a/packages/ketcher-core/src/domain/entities/RNABase.ts +++ b/packages/ketcher-core/src/domain/entities/RNABase.ts @@ -1,11 +1,11 @@ import { BaseMonomer } from 'domain/entities/BaseMonomer'; export class RNABase extends BaseMonomer { - public getValidSourcePoint(monomer: BaseMonomer) { - return monomer.firstFreeAttachmentPoint; + public getValidSourcePoint(_monomer: BaseMonomer) { + return this.firstFreeAttachmentPoint; } - public getValidTargetPoint(monomer: BaseMonomer) { - return monomer.firstFreeAttachmentPoint; + public getValidTargetPoint(_monomer: BaseMonomer) { + return this.firstFreeAttachmentPoint ; } }