• Steven's avatar
    refactor: simplify NSFW implementation by inlining logic · 29412f46
    Steven authored
    - Remove unused showNsfwContent prop (was only used in MemoDetail to pre-reveal NSFW, which defeats the purpose)
    - Inline useNsfwContent hook logic directly into MemoView.tsx (only 3 lines, no reusability benefit)
    - Delete web/src/components/MemoView/hooks/useNsfwContent.ts
    - NSFW content now consistently starts hidden across all pages
    - Maintains same user experience: click to reveal, no toggle back
    
    This removes unnecessary indirection and prop threading while preserving functionality.
    29412f46
Name
Last commit
Last update
..
components Loading commit data...
contexts Loading commit data...
helpers Loading commit data...
hooks Loading commit data...
layouts Loading commit data...
lib Loading commit data...
locales Loading commit data...
pages Loading commit data...
router Loading commit data...
themes Loading commit data...
types Loading commit data...
utils Loading commit data...
App.tsx Loading commit data...
auth-state.ts Loading commit data...
connect.ts Loading commit data...
i18n.ts Loading commit data...
index.css Loading commit data...
instance-config.ts Loading commit data...
main.tsx Loading commit data...