async function initFromReactionId(reactionId) {
  const reaction = await getReactionById(reactionId);
  // NOTE(kearnes): Without this next line, `reaction` will be
  // partial/incomplete, and I have no idea why.
  console.log(reaction.toObject());
  init(reaction);
  $('#dataset_context').hide();
}
/**
 * Initializes the form from a Reaction ID.
 * @param {string} reactionId
 */
Initializes the form from a Reaction ID.
@param {string} reactionId
Initializes the form from a Reaction ID . @param { string } reactionId
async function initFromReactionId(reactionId) {
  const reaction = await getReactionById(reactionId);
  console.log(reaction.toObject());
  init(reaction);
  $('#dataset_context').hide();
}
async function initFromReactionId ( reactionId ) { const reaction = await getReactionById ( reactionId ) ; console . log ( reaction . toObject ( ) ) ; init ( reaction ) ; $ ( '#dataset_context' ) . hide ( ) ; }
Initializes the form from a Reaction ID.
Initializes the form from a Reaction ID .
// NOTE(kearnes): Without this next line, `reaction` will be // partial/incomplete, and I have no idea why.