@edu-tosel/design 1.0.331 → 1.0.333

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": "@edu-tosel/design",
3
- "version": "1.0.331",
3
+ "version": "1.0.333",
4
4
  "description": "UI components for International TOSEL Committee",
5
5
  "keywords": [
6
6
  "jsx",
package/version.txt CHANGED
@@ -1 +1 @@
1
- 1.0.331
1
+ 1.0.333
@@ -49,7 +49,7 @@ export default function SelectLG({ state, selectOptions: selectOptionsInput, pla
49
49
  useEffect(() => {
50
50
  const responses = selectOptions?.filter(({ title }) => title?.includes(search));
51
51
  setFilteredOptions(responses);
52
- }, [search]);
52
+ }, [search, selectOptions]); // selectOptions 추가
53
53
  useEffect(() => {
54
54
  if (typeof index === "number" && itemRefs.current[index]) {
55
55
  itemRefs.current[index]?.scrollIntoView({ block: "nearest" });