sales-frontend-components 0.0.160 → 0.0.161
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/dist/index.cjs.js +4 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +4 -1
- package/dist/index.esm.js.map +1 -1
- package/package.json +15 -15
package/dist/index.esm.js
CHANGED
|
@@ -1925,7 +1925,10 @@ function useSearchVisa({ setValue, onClose, isOpen }) {
|
|
|
1925
1925
|
const [searchKeyword, setSearchKeyword] = useState("");
|
|
1926
1926
|
const [selectedVisa, setSelectedVisa] = useState();
|
|
1927
1927
|
const [searchInput, setSearchInput] = useState("");
|
|
1928
|
-
const { data: visaList } = useSearchVisaQuery(
|
|
1928
|
+
const { data: visaList } = useSearchVisaQuery({
|
|
1929
|
+
staleTime: Infinity,
|
|
1930
|
+
gcTime: Infinity
|
|
1931
|
+
});
|
|
1929
1932
|
const searchList = visaList?.data?.visaStatusList || [];
|
|
1930
1933
|
const onSearch = (e) => {
|
|
1931
1934
|
const typeStr = e.target.value;
|