Skip to content

Commit

Permalink
Merge pull request #207 from cosmology-tech/fix/timeline-dot
Browse files Browse the repository at this point in the history
fix(timeline): should set default theme before hydrating
  • Loading branch information
yyyyaaa authored Oct 14, 2024
2 parents 8bbda97 + 5b804b8 commit b13fe54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/timeline/timeline.lite.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export default function Timeline(props: TimelineProps) {
timelineHeight: number;
updateTimelineHeight: () => void;
}>({
internalTheme: store.getState().theme,
internalTheme: "light",
timelineHeight: 0,
updateTimelineHeight: () => {
if (timelineRef) {
Expand Down

0 comments on commit b13fe54

Please sign in to comment.