l-min-components 1.0.753 → 1.0.757

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": "l-min-components",
3
- "version": "1.0.753",
3
+ "version": "1.0.757",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "src/assets",
@@ -21,13 +21,13 @@ import { DebounceInput } from "react-debounce-input";
21
21
  *
22
22
  */
23
23
  const LanguageDropdown = ({ languageDropdown, setLanguageDropdown }) => {
24
- const { setGeneralData, generalData, setDefaultLang, findText } =
24
+ const { setGeneralData, generalData, defaultLang, setDefaultLang, findText } =
25
25
  useContext(OutletContext);
26
26
  const [filteredData, setFilteredData] = useState([]);
27
27
  const [isSearch, setIsSearch] = useState(false);
28
28
  const containerRef = useRef(null);
29
29
 
30
- const sampleSuggestions = ["English", "Spanish"];
30
+ console.log("object", defaultLang)
31
31
 
32
32
  const handleFilter = (event) => {
33
33
  const searchWord = event.target.value;
@@ -6,6 +6,7 @@ import { ArrowDownIcon } from "./assets/svg/arrow-down";
6
6
  import ButtonComponent from "../button";
7
7
  import { useLocation, useNavigate } from "react-router-dom";
8
8
  import usFlag from "../../assets/images/usFlag.png";
9
+ import koreanFlag from "../../assets/images/koreaFlag.png";
9
10
  import { OutletContext } from "..";
10
11
 
11
12
  /**
@@ -1,4 +1,4 @@
1
- import { useCallback, useEffect, useState } from "react";
1
+ import React, { useCallback, useEffect, useState } from "react";
2
2
  import loadTranslations from "./utils/translation";
3
3
 
4
4
  const useTranslation = () => {