function removeBookmark(bookmark, callback) {
    return () => {
      // Execute a 'Delete bookmark' action.
      dispatch({
        type: 'DELETE_BOOKMARK',
        payload: { bookmark }, // Bookmark data is composed of { name, link, category }.
      })

      // Execute the callback.
      callback()
    }
  }
/**
   * Remove bookmark data.
   * @params {object} bookmark - The bookmark data.
   * @params {function} callback - The function that will be executed after removing the bookmark data.
   * @returns void
   */
Remove bookmark data.
@params {object} bookmark - The bookmark data.
@params {function} callback - The function that will be executed after removing the bookmark data.
@returns void
Remove bookmark data . @params { object } bookmark - The bookmark data . @params { function } callback - The function that will be executed after removing the bookmark data . @returns void
function removeBookmark(bookmark, callback) {
    return () => {
      dispatch({
        type: 'DELETE_BOOKMARK',
        payload: { bookmark }, 
      })
      callback()
    }
  }
function removeBookmark ( bookmark , callback ) { return ( ) => { dispatch ( { type : 'DELETE_BOOKMARK' , payload : { bookmark } , } ) callback ( ) } }
Remove bookmark data.
Remove bookmark data .
// Execute a 'Delete bookmark' action. // Bookmark data is composed of { name, link, category }. // Execute the callback.