@uniai-fe/uds-templates 0.6.22 → 0.6.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniai-fe/uds-templates",
3
- "version": "0.6.22",
3
+ "version": "0.6.23",
4
4
  "description": "UNIAI Design System; UI Templates Package",
5
5
  "type": "module",
6
6
  "private": false,
@@ -141,7 +141,10 @@ export default function useCctvContext(): UseCctvContextReturn {
141
141
  );
142
142
 
143
143
  // 현재 선택된 업체가 속한 그룹 코드를 계산한다.
144
- const selectedGroupCode = selectedCompany?.group_code;
144
+ const selectedGroupCode = useMemo(
145
+ (): string => selectedCompany?.group_code || "",
146
+ [selectedCompany?.group_code],
147
+ );
145
148
 
146
149
  // 선택된 회사의 카메라 리스트를 평탄화해 반환한다.
147
150
  const cams = useMemo(