Skip to content

Commit

Permalink
fix: i'll dangerously set inner you in a minute
Browse files Browse the repository at this point in the history
  • Loading branch information
jxom committed Feb 15, 2024
1 parent f421790 commit 1d370ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/dev/components.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -839,6 +839,7 @@ export function Styles() {
[x-cloak] { display: none !important; }
`
// biome-ignore lint/security/noDangerouslySetInnerHtml:
return <style dangerouslySetInnerHTML={{ __html: styles }} />
}

Expand Down
4 changes: 2 additions & 2 deletions src/dev/routes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ import { type FarcBase } from '../farc-base.js'
import { parsePath } from '../utils/parsePath.js'
import { Preview, Scripts, Styles } from './components.js'
import {
validatePostBody,
fetchFrame,
getInspectorData,
getRoutes,
htmlToFrame,
htmlToState,
fetchFrame,
validatePostBody,
} from './utils.js'

export function routes<
Expand Down

0 comments on commit 1d370ce

Please sign in to comment.