Skip to content

Commit

Permalink
fix: set section as expanded
Browse files Browse the repository at this point in the history
  • Loading branch information
marespopa committed Apr 1, 2024
1 parent 6ee72ea commit 56cd801
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/components/overview/OverviewSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ const OverviewSection = ({ handleReset }: Props) => {
<div className={`${showConfetti && 'opacity-30'}`}>
{renderTaskDashboard()}
</div>
{renderInfoMessages()}
</section>
</Provider>
)
Expand Down Expand Up @@ -73,6 +72,7 @@ const OverviewSection = ({ handleReset }: Props) => {
activeTab={activeTab}
handleTabChange={(tab) => setActiveTab(tab)}
/>
{activeTab === 'preview' && renderInfoMessages()}
<Timer />
<div className="grid md:grid-cols-2 md:gap-8">
<SubtasksSection />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type Props = {}

export default function SnippetsSection({}: Props) {
const [list, setList] = useAtom(atom_snippets)
const [isExpanded, setisExpanded] = useState(false)
const [isExpanded, setisExpanded] = useState(true)
const hasSnippets = list.length > 0

return (
Expand Down

0 comments on commit 56cd801

Please sign in to comment.