Skip to content

Commit

Permalink
fix: remove console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
MildTomato committed Feb 28, 2022
1 parent 739e028 commit 5f2a723
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/components/Listbox/Listbox2.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ function Listbox({
} = useFormContext()

if (values && !value) {
console.log('WRONG THING RAN 1')
defaultValue = values[id || name]
}
if (handleBlur) onBlur = handleBlur
Expand All @@ -95,7 +94,6 @@ function Listbox({

useEffect(() => {
if (value) {
console.log('value useeffect')
setSelected(value)
}
}, [value])
Expand Down
2 changes: 1 addition & 1 deletion src/components/ThemeProvider/ThemeProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const ThemeProvider: React.FC<Props> = ({
[]
)

console.log('defaultTheme', defaultTheme)
// console.log('defaultTheme', defaultTheme)
return <ThemeContext.Provider value={value}>{children}</ThemeContext.Provider>
}

Expand Down
2 changes: 1 addition & 1 deletion src/lib/theme/themeContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const themeWrapper: React.FC<Props> = ({
[]
)

console.log('defaultTheme', defaultTheme)
// console.log('defaultTheme', defaultTheme)
return <ThemeContext.Provider value={value}>{children}</ThemeContext.Provider>
}

Expand Down

0 comments on commit 5f2a723

Please sign in to comment.