Comments (3)
The issue is because your are not passing the arguments the hook expects.
Reference doc: https://lens-protocol.github.io/lens-sdk/functions/_lens_protocol_react_web.useCreateMirror.html
Working example: https://github.com/lens-protocol/lens-sdk/blob/main/examples/web-wagmi/src/publications/UseCreateMirror.tsx#L26
from lens-sdk.
okay thank you, it's not mentioned in docs.lens.xyz
from lens-sdk.
okay thank you, it's not mentioned in docs.lens.xyz
Ah thank you for pointing this out. I'll fix it now.
A note on the docs I hope you can find useful.
In order to keep the documents easier to maintain and keep up to date we are rethinking the docs.lens.xyz
to become more of a collection of guides. See create your first post format for example.
What used the be the older format (like in the case of https://docs.lens.xyz/docs/use-create-mirror) is going to be autogenerated from TSDoc (i.e. the reference docs).
Reference docs over time will be integrated with also snippets of code you can see from the docs and from your IDE.
An example: https://lens-protocol.github.io/lens-sdk/functions/_lens_protocol_react_web.useCreatePost.html
The useCreateMirror
is just not migrated to the new format yet.
from lens-sdk.
Related Issues (20)
- Add WalletAuthetificationToProfileAuthetification to sdk HOT 3
- Here is the diff that solved my problem: HOT 2
- The 'useOwnedHandles' hook failed to execute correctly in the production environment
- It seems that the data provided by useOwnedHandles is not sufficiently real-time. I am unable to retrieve the profile I purchased through this hook. HOT 2
- Support Node Engine 20 HOT 3
- When I switch to a new wallet, LensProvider doesn't replace with the new signer. Can anyone help me look at this issue HOT 3
- useSetProfileMetadata should update the profile cache returned by useSession HOT 2
- Support wagmi v2 HOT 5
- In the useOpenAction react hook, when the user doesn't have enough funds to collect, an unhandled promise is being thrown instead of being handled by the SDK HOT 7
- Add support for React suspense HOT 9
- Regression in latest version of the SDK 2.0.0-alpha.29 when creating a publication HOT 9
- Get a refreshed access token if expired HOT 29
- SSR support with the React SDK HOT 2
- export 'isObject' (imported as 'isObject') was not found in '@lens-protocol/shared-kernel' HOT 3
- Apollo cache issue when liking or bookmarking your own posts HOT 5
- @lens-protocol/react-web HOT 4
- usePublications failed to execute if one of publication on scope have an invalid encryption condition HOT 1
- verifyFrameSignature: SIGNER_ADDRESS_CANNOT_USE_PROFILE(Lens Frame) HOT 1
- Migrate from `traverse` to `neotraverse`
- Using LensProvider in a page.js router Next.js project HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lens-sdk.