chore: fix hydration issue
This commit is contained in:
parent
d832e9f48a
commit
86a0ef2854
|
|
@ -152,10 +152,12 @@ function onExpand() {
|
||||||
<template>
|
<template>
|
||||||
<TooltipProvider :delay-duration="0">
|
<TooltipProvider :delay-duration="0">
|
||||||
<ResizablePanelGroup
|
<ResizablePanelGroup
|
||||||
|
id="resize-panel-group-1"
|
||||||
direction="horizontal"
|
direction="horizontal"
|
||||||
class="h-full max-h-[800px] items-stretch"
|
class="h-full max-h-[800px] items-stretch"
|
||||||
>
|
>
|
||||||
<ResizablePanel
|
<ResizablePanel
|
||||||
|
id="resize-panel-1"
|
||||||
:default-size="defaultLayout[0]"
|
:default-size="defaultLayout[0]"
|
||||||
:collapsed-size="navCollapsedSize"
|
:collapsed-size="navCollapsedSize"
|
||||||
collapsible
|
collapsible
|
||||||
|
|
@ -179,8 +181,8 @@ function onExpand() {
|
||||||
:links="links2"
|
:links="links2"
|
||||||
/>
|
/>
|
||||||
</ResizablePanel>
|
</ResizablePanel>
|
||||||
<ResizableHandle with-handle />
|
<ResizableHandle id="resize-handle-1" with-handle />
|
||||||
<ResizablePanel :default-size="defaultLayout[1]" :min-size="30">
|
<ResizablePanel id="resize-panel-2" :default-size="defaultLayout[1]" :min-size="30">
|
||||||
<Tabs default-value="all">
|
<Tabs default-value="all">
|
||||||
<div class="flex items-center px-4 py-2">
|
<div class="flex items-center px-4 py-2">
|
||||||
<h1 class="text-xl font-bold">
|
<h1 class="text-xl font-bold">
|
||||||
|
|
@ -212,8 +214,8 @@ function onExpand() {
|
||||||
</TabsContent>
|
</TabsContent>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
</ResizablePanel>
|
</ResizablePanel>
|
||||||
<ResizableHandle with-handle />
|
<ResizableHandle id="resiz-handle-2" with-handle />
|
||||||
<ResizablePanel :default-size="defaultLayout[2]">
|
<ResizablePanel id="resize-panel-3" :default-size="defaultLayout[2]">
|
||||||
<MailDisplay :mail="selectedMailData" />
|
<MailDisplay :mail="selectedMailData" />
|
||||||
</ResizablePanel>
|
</ResizablePanel>
|
||||||
</ResizablePanelGroup>
|
</ResizablePanelGroup>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user