fix(nc-gui): console warnings

This commit is contained in:
Ramesh Mane
2025-03-11 19:25:19 +00:00
parent f29b9bfc6e
commit 6e840015cc
20 changed files with 97 additions and 35 deletions

View File

@@ -44,7 +44,7 @@ const isSurveyForm = inject(IsSurveyFormInj, ref(false))
const aselect = ref<typeof AntSelect>()
const isOpen = ref(false)
const canvasSelectCell = inject(CanvasSelectCellInj)
const canvasSelectCell = inject(CanvasSelectCellInj, null)
const isFocusing = ref(false)
@@ -323,7 +323,7 @@ watch(
},
)
const canvasCellEventData = inject(CanvasCellEventDataInj)!
const canvasCellEventData = inject(CanvasCellEventDataInj, reactive<CanvasCellEventDataInjType>({}))
const isUnderLookup = inject(IsUnderLookupInj, ref(false))
const isCanvasInjected = inject(IsCanvasInjectionInj, false)
const isExpandedForm = inject(IsExpandedFormOpenInj, ref(false))