Skip to content

Commit

Permalink
Merge pull request #20 from resonance-box/chore/update-readme
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
neoki07 committed Aug 31, 2023
2 parents 8fe0e2f + c9a4ae4 commit 9d0da8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ This code sets up a simple SoundFont2 player in React using the library.
import { useState } from 'react'
import {
createSoundFont2SynthNode,
type SoundFont2SynthNode,
SoundFont2SynthNode,
} from 'sf2-synth-audio-worklet'

export default function App() {
const [started, setStarted] = useState(false)
const [node, setNode] = useState<SoundFont2SynthNode | undefined>(undefined)
const [node, setNode] = useState<SoundFont2SynthNode>()

function setup() {
setStarted(true)
Expand Down

0 comments on commit 9d0da8c

Please sign in to comment.