sales-frontend-components 0.0.160 → 0.0.162
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.cjs.js
CHANGED
|
@@ -1927,7 +1927,10 @@ function useSearchVisa({ setValue, onClose, isOpen }) {
|
|
|
1927
1927
|
const [searchKeyword, setSearchKeyword] = React.useState("");
|
|
1928
1928
|
const [selectedVisa, setSelectedVisa] = React.useState();
|
|
1929
1929
|
const [searchInput, setSearchInput] = React.useState("");
|
|
1930
|
-
const { data: visaList } = method.useSearchVisaQuery(
|
|
1930
|
+
const { data: visaList } = method.useSearchVisaQuery({
|
|
1931
|
+
staleTime: Infinity,
|
|
1932
|
+
gcTime: Infinity
|
|
1933
|
+
});
|
|
1931
1934
|
const searchList = visaList?.data?.visaStatusList || [];
|
|
1932
1935
|
const onSearch = (e) => {
|
|
1933
1936
|
const typeStr = e.target.value;
|