Skip to content

Commit

Permalink
chore(autofmt): Automated formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Sep 11, 2023
1 parent 70ff487 commit 5e6346f
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ import {TimelineEvent} from '../protos/xyz/block/ftl/v1/console/console_pb'

type SelectedTimelineEntryContextType = {
selectedEntry: TimelineEvent | null
setSelectedEntry: React.Dispatch<
React.SetStateAction<TimelineEvent | null>
>
setSelectedEntry: React.Dispatch<React.SetStateAction<TimelineEvent | null>>
}

export const SelectedTimelineEntryContext =
Expand All @@ -15,8 +13,7 @@ export const SelectedTimelineEntryContext =
})

export const SelectedTimelineEntryProvider = (props: PropsWithChildren) => {
const [selectedEntry, setSelectedEntry] =
useState<TimelineEvent | null>(null)
const [selectedEntry, setSelectedEntry] = useState<TimelineEvent | null>(null)

return (
<SelectedTimelineEntryContext.Provider
Expand Down

0 comments on commit 5e6346f

Please sign in to comment.