// In FeedScreen — categories fetch (updated from Chapter 3 stub)
fetchCategories(token ?? undefined)
  .then(setCategories)
  .catch(err => {
    // Was: '// Log to Sentry in Chapter 18'
    // Now wired:
    Sentry.captureException(err, {
      tags:  { endpoint: '/categories' },
      level: 'warning',  // Non-critical: feed still works without categories
    });
  });
