diff --git a/apps/docs/content/components/date-input/granularity.raw.tsx b/apps/docs/content/components/date-input/granularity.raw.tsx index 98a8ed072d..dfc2718dfa 100644 --- a/apps/docs/content/components/date-input/granularity.raw.tsx +++ b/apps/docs/content/components/date-input/granularity.raw.tsx @@ -3,7 +3,9 @@ import {DateInput} from "@nextui-org/react"; import {DateValue, now, parseAbsoluteToLocal} from "@internationalized/date"; export default function App() { - let [date, setDate] = React.useState(parseAbsoluteToLocal("2021-04-07T18:45:22Z")); + let [date, setDate] = React.useState( + parseAbsoluteToLocal("2021-04-07T18:45:22Z"), + ); return (
diff --git a/apps/docs/content/components/date-input/international-calendar.raw.tsx b/apps/docs/content/components/date-input/international-calendar.raw.tsx index 0f31e5067a..7a589f4086 100644 --- a/apps/docs/content/components/date-input/international-calendar.raw.tsx +++ b/apps/docs/content/components/date-input/international-calendar.raw.tsx @@ -4,7 +4,9 @@ import {DateValue, parseAbsoluteToLocal} from "@internationalized/date"; import {I18nProvider} from "@react-aria/i18n"; export default function App() { - const [date, setDate] = React.useState(parseAbsoluteToLocal("2021-04-07T18:45:22Z")); + const [date, setDate] = React.useState( + parseAbsoluteToLocal("2021-04-07T18:45:22Z"), + ); return (
diff --git a/apps/docs/content/components/date-picker/granularity.raw.tsx b/apps/docs/content/components/date-picker/granularity.raw.tsx index 85039362d4..f735659402 100644 --- a/apps/docs/content/components/date-picker/granularity.raw.tsx +++ b/apps/docs/content/components/date-picker/granularity.raw.tsx @@ -3,7 +3,9 @@ import {DatePicker} from "@nextui-org/react"; import {DateValue, now, parseAbsoluteToLocal} from "@internationalized/date"; export default function App() { - let [date, setDate] = React.useState(parseAbsoluteToLocal("2021-04-07T18:45:22Z")); + let [date, setDate] = React.useState( + parseAbsoluteToLocal("2021-04-07T18:45:22Z"), + ); return (
diff --git a/apps/docs/content/components/date-picker/international-calendar.raw.tsx b/apps/docs/content/components/date-picker/international-calendar.raw.tsx index b351562407..4fbe6708fd 100644 --- a/apps/docs/content/components/date-picker/international-calendar.raw.tsx +++ b/apps/docs/content/components/date-picker/international-calendar.raw.tsx @@ -4,7 +4,9 @@ import {DateValue, parseAbsoluteToLocal} from "@internationalized/date"; import {I18nProvider} from "@react-aria/i18n"; export default function App() { - let [date, setDate] = React.useState(parseAbsoluteToLocal("2021-04-07T18:45:22Z")); + let [date, setDate] = React.useState( + parseAbsoluteToLocal("2021-04-07T18:45:22Z"), + ); return (
diff --git a/packages/components/date-input/stories/date-input.stories.tsx b/packages/components/date-input/stories/date-input.stories.tsx index 616679c742..0439046786 100644 --- a/packages/components/date-input/stories/date-input.stories.tsx +++ b/packages/components/date-input/stories/date-input.stories.tsx @@ -131,7 +131,9 @@ const TimeZonesTemplate = (args: DateInputProps) => ( ); const GranularityTemplate = (args: DateInputProps) => { - let [date, setDate] = React.useState(parseAbsoluteToLocal("2021-04-07T18:45:22Z")); + let [date, setDate] = React.useState( + parseAbsoluteToLocal("2021-04-07T18:45:22Z"), + ); return (
@@ -155,7 +157,9 @@ const GranularityTemplate = (args: DateInputProps) => { }; const InternationalCalendarsTemplate = (args: DateInputProps) => { - let [date, setDate] = React.useState(parseAbsoluteToLocal("2021-04-07T18:45:22Z")); + let [date, setDate] = React.useState( + parseAbsoluteToLocal("2021-04-07T18:45:22Z"), + ); return (
diff --git a/packages/components/date-picker/stories/date-picker.stories.tsx b/packages/components/date-picker/stories/date-picker.stories.tsx index 14e33f29cc..ca697a5cd6 100644 --- a/packages/components/date-picker/stories/date-picker.stories.tsx +++ b/packages/components/date-picker/stories/date-picker.stories.tsx @@ -149,7 +149,9 @@ const TimeZonesTemplate = (args: DatePickerProps) => ( ); const GranularityTemplate = (args: DatePickerProps) => { - let [date, setDate] = React.useState(parseAbsoluteToLocal("2021-04-07T18:45:22Z")); + let [date, setDate] = React.useState( + parseAbsoluteToLocal("2021-04-07T18:45:22Z"), + ); return (
@@ -182,7 +184,9 @@ const GranularityTemplate = (args: DatePickerProps) => { }; const InternationalCalendarsTemplate = (args: DatePickerProps) => { - let [date, setDate] = React.useState(parseAbsoluteToLocal("2021-04-07T18:45:22Z")); + let [date, setDate] = React.useState( + parseAbsoluteToLocal("2021-04-07T18:45:22Z"), + ); return (