Skip to content

Commit

Permalink
chore: tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
tmm committed Feb 9, 2024
1 parent 99f4da4 commit 01d3a7f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion example/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,4 +109,5 @@ app.frame('/falsy-intents', () => {
}
})

Bun.serve(app)
const server = Bun.serve(app)
console.log(`𝑭𝒂𝒓𝒄 ▶︎ http://localhost:${server.port}/preview`)
4 changes: 2 additions & 2 deletions src/preview/components.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ async function Devtools(props: DevtoolsProps) {
}}
>
<div>
<div style={headerStyle}>Current</div>
<div style={headerStyle}>Current Context</div>
<div
dangerouslySetInnerHTML={{ __html: contextHtml }}
style={{
Expand All @@ -369,7 +369,7 @@ async function Devtools(props: DevtoolsProps) {
/>
</div>
<div style={{ borderLeftWidth: '1px' }}>
<div style={headerStyle}>Previous</div>
<div style={headerStyle}>Previous Context</div>
<div
dangerouslySetInnerHTML={{ __html: previousContextHtml }}
style={{ ...overflowStyle, maxHeight: '48vh', padding: '0.5rem' }}
Expand Down

0 comments on commit 01d3a7f

Please sign in to comment.