Skip to content

Commit

Permalink
add comment and imrpove code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Ali Sasani Babak committed Sep 18, 2023
1 parent 88b571c commit cb3393f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ function useIsDarkMode() {
}

export default function UnstyledTabsIntroduction() {
// Replace this with your app logic for determining dark mode
const isDarkMode = useIsDarkMode();

return (
<div className={isDarkMode ? 'dark' : ''}>
<Tabs defaultValue={0}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ function useIsDarkMode() {
}

export default function UnstyledTabsIntroduction() {
// Replace this with your app logic for determining dark mode
const isDarkMode = useIsDarkMode();

return (
<div className={isDarkMode ? 'dark' : ''}>
<Tabs defaultValue={0}>
Expand Down

0 comments on commit cb3393f

Please sign in to comment.