diff --git a/components/doc/multiselect/loadingdoc.js b/components/doc/multiselect/loadingdoc.js
index 120219430c..cd8e728957 100644
--- a/components/doc/multiselect/loadingdoc.js
+++ b/components/doc/multiselect/loadingdoc.js
@@ -3,11 +3,11 @@ import { DocSectionText } from '@/components/doc/common/docsectiontext';
import { MultiSelect } from '@/components/lib/multiselect/MultiSelect';
export function LoadingDoc(props) {
- const code = {
- basic: `
+ const code = {
+ basic: `
`,
- javascript: `
+ javascript: `
import React from "react";
import { MultiSelect } from 'primereact/multiselect';
@@ -19,7 +19,7 @@ export default function LoadingDemo() {
);
}
`,
- typescript: `
+ typescript: `
import React from "react";
import { MultiSelect } from 'primereact/multiselect';
@@ -31,19 +31,19 @@ export default function LoadingDemo() {
);
}
`
- };
+ };
- return (
- <>
-
-
- Loading state can be used loading property.
-
-
-
-
-
-
- >
- );
+ return (
+ <>
+
+
+ Loading state can be used loading property.
+
+
+
+
+
+
+ >
+ );
}
diff --git a/components/lib/calendar/Calendar.js b/components/lib/calendar/Calendar.js
index 492a29b304..f6fe9fe076 100644
--- a/components/lib/calendar/Calendar.js
+++ b/components/lib/calendar/Calendar.js
@@ -68,7 +68,7 @@ export const Calendar = React.memo(
overlay: overlayRef,
listener: (event, { type, valid }) => {
if (valid) {
- type === 'outside' ? !isOverlayClicked.current && !isNavIconClicked(event.target) && hide('outside', reFocusInputField) : hide(null, reFocusInputField);
+ type === 'outside' ? !isOverlayClicked.current && !isNavIconClicked(event.target) && hide('outside') : hide();
}
isOverlayClicked.current = false;