File tree Expand file tree Collapse file tree
src/app/(flow)/namespace/[namespaceId]/project/[projectId]/flow/[flowId] Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -45,11 +45,11 @@ export default function Page() {
4545 return < ResizablePanel id = { "2" } >
4646 < Layout layoutGap = { 0 } showLayoutSplitter = { false } rightContent = {
4747 < Flex pl = { 0.7 } style = { { flexDirection : "column" , gap : "0.7rem" } } >
48- < Button aria-selected = { tab === "file" } onClick = { ( ) => setTab ( "file" ) } variant = { "none" }
48+ < Button aria-selected = { tab === "file" } onClick = { ( ) => setTab ( prevState => prevState === "file" ? undefined : "file" ) } variant = { "none" }
4949 paddingSize = { "xs" } >
5050 < IconFile size = { 16 } />
5151 </ Button >
52- < Button aria-selected = { tab === "execution" } onClick = { ( ) => setTab ( "execution" ) } variant = { "none" }
52+ < Button aria-selected = { tab === "execution" } onClick = { ( ) => setTab ( prevState => prevState === "execution" ? undefined : "execution" ) } variant = { "none" }
5353 paddingSize = { "xs" } >
5454 < IconPlayerPlay size = { 16 } />
5555 </ Button >
You can’t perform that action at this time.
0 commit comments