Skip to content

Commit d56b53c

Browse files
committed
chore: remove console logs
1 parent 5a2179c commit d56b53c

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

apps/website/src/components/make-it-yours/make-it-yours.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,6 @@ export default component$<PropsOf<typeof Button>>(() => {
539539
themeComputedObjectSig.value.mode =
540540
themeComputedObjectSig.value.mode?.includes('light') ? 'dark' : 'light';
541541

542-
console.log(themeComputedObjectSig.value.mode);
543542
setTheme(await themeStoreToThemeClasses$());
544543
}}
545544
/>

apps/website/src/components/toc/toc.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,10 @@ const useActiveItem = (itemIds: string[]) => {
3333
const observer = new IntersectionObserver((entries) => {
3434
entries.forEach((entry) => {
3535
if (entry.isIntersecting) {
36-
console.log('entry: ', entry.isIntersecting, entry.target.id);
3736
activeId.value = entry.target.id;
3837
}
3938
});
4039
});
41-
console.log('observer: ', observer);
4240

4341
itemIds.forEach((id) => {
4442
const element = document.getElementById(id);
@@ -67,7 +65,6 @@ type TreeProps = QwikIntrinsicElements['ul'] & {
6765
};
6866

6967
const Tree = component$<TreeProps>(({ headings, level = 1, activeItem }) => {
70-
console.log('level: ', level);
7168
return headings.length > 0 && level < 3 ? (
7269
<ul class={cn('m-0 list-none', { 'pl-4': level !== 1 })}>
7370
{headings.map((heading) => {

0 commit comments

Comments
 (0)