useStorage custom storage instance error

Hi I tried using this code example from documentation
const [hailingFrequency] = useStorage({
  key: "hailing",
  instance: new Storage({
    area: "local"
  })
})

but I'm getting this error
image.png
Was this page helpful?