Sync modal editor state from the updated feed on open, clear editFeed on reset, and remount TextEditor so a second edit shows the latest HTML instead of stale content.
12 lines
316 B
YAML
12 lines
316 B
YAML
# Lefthook configuration
|
|
# https://github.com/evilmartians/lefthook
|
|
|
|
pre-commit:
|
|
parallel: true
|
|
commands:
|
|
prettier:
|
|
run: pnpm format:check
|
|
fail_text: |
|
|
❌ Prettier formatting check failed!
|
|
Please run 'pnpm format:changed' or 'pnpm format' to fix formatting issues and try again.
|