@uniai-fe/uds-templates 0.6.24 → 0.6.25

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.24",
3
+ "version": "0.6.25",
4
4
  "description": "UNIAI Design System; UI Templates Package",
5
5
  "type": "module",
6
6
  "private": false,
@@ -34,7 +34,11 @@ export const userFarmAtom = atom<API_Res_LoginUserFarm | null>(null);
34
34
  /**
35
35
  * 로그인 사용자 농장 id 코드
36
36
  */
37
- export const farmIdAtom = atom<number>(-1);
37
+ export const farmIdAtom = atomWithStorage<number>(
38
+ "farmId",
39
+ -1,
40
+ jotaiStorage.session<number>(),
41
+ );
38
42
 
39
43
  /**
40
44
  * 로그인 사용자 농장 관리번호