developer-content
developer-content copied to clipboard
init_if_needed may not be required here [CRUD App Tutorial]
Problem
Re: content/guides/dapps/journal.md [The CRUD app tutorial] while defining the account for creating a journal entry, init_if_needed is one of the account constraints, which I don't think is needed and I'm not really sure the feature flag is included when using create-solana-dapp
Proposed Solution
Just include init instead of init_if_needed in the code snippet