Skip to content

Commit

Permalink
fix derp reversed if-else
Browse files Browse the repository at this point in the history
  • Loading branch information
SutuSebastian committed Oct 26, 2024
1 parent 7832e11 commit e08d74a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ui/src/store/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ export function setStore(data: StoreProps = {}, options: { override?: boolean }
}
if (theme) {
if (options.override) {
store.data.theme = theme;
} else {
// TODO: implement `twMerge()`
store.data.theme = deepmerge(store.data.theme, theme);
} else {
store.data.theme = theme;
}
}
}
Expand Down

0 comments on commit e08d74a

Please sign in to comment.