Skip to content

fix: add missing closing </div> tag in admin/page.tsx - #464

Open
Bu1ldTh3Futur3 wants to merge 627 commits into
leojay-net:mainfrom
Bu1ldTh3Futur3:fix/issue-448-unclosed-div
Open

fix: add missing closing </div> tag in admin/page.tsx#464
Bu1ldTh3Futur3 wants to merge 627 commits into
leojay-net:mainfrom
Bu1ldTh3Futur3:fix/issue-448-unclosed-div

Conversation

@Bu1ldTh3Futur3

Copy link
Copy Markdown

Fixes #448

Problem

npx tsc --noEmit fails with:

src/app/admin/page.tsx(223,8): error TS17008: JSX element 'div' has no corresponding closing tag.

The outer <div className="min-h-screen bg-gray-50 dark:bg-gray-900 p-8"> at line 223 was never closed before </AdminGuard>.

Fix

Added the missing </div> closing tag before </AdminGuard>. Opening/closing div count is now balanced at 32/32 in the return block.

Files changed

  • dex_with_fiat_frontend/src/app/admin/page.tsx — +1 line

nonso7 and others added 30 commits March 28, 2026 22:39
…lti-token-fee-accrual-in-withdraw-fees

feat(contract): add batch fee withdrawal
…ithdrawal

Reject memo_hash that is all zeros (Error::InvalidMemoHash = 312) as a
zero hash indicates a missing or placeholder SHA-256 hash rather than a
real external transaction reference. Adds validate_memo_hash helper and
a unit test asserting zero-hash rejection for both entry points.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…-315-318

fix: resolve issues 315, 313, 307, 318
Add slippage boundary tests with parameterized sweeps
…-validation

Fix/issue 278 memo hash validation
- wrap scrollToBottom in useCallback() to fix react-hooks/exhaustive-deps in ChatMessages.tsx
- add connection.network to StellarFiatModal.tsx useEffect dep array
- suppress WITHDRAWAL_EXPIRY_WINDOW_LEDGERS unused-constant warning with #[allow(dead_code)]

All 112 Rust tests pass. Frontend builds with zero warnings.
Prepend EVENT_VERSION (u32 = 1) as the first topic on every
env.events().publish() call so off-chain indexers can detect breaking
schema changes and migrate gracefully. Affects all 25 event sites:
deposit, rcpt_issd, withdraw, req_withdr, paused, unpaused, slippage,
admin_action_queued, admin_action_executed, deny_add, deny_rem,
heartbeat, nonce_inc, fee_accrue, fee_wdrw (x2), rescue, quota_set,
quota_reset, deploy_hash, migration, batch_fail, batch_ok, cb_reset,
cbtripped.

Updates test_withdrawal_quota_resets_after_window to match new topic
order. Adds event version tests for deposit, request_withdrawal, and
deny_address/remove_denied_address. Adds CHANGELOG.md entry.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Collapsible sidebar icon on mobile
- Slide-out drawer navigation for chat history on mobile
- Sticky ChatInput for all screen sizes
- Performance and layout refinements for < 640px widths

Closes leojay-net#299
…d-events

feat(contract): emit structured events with EVENT_VERSION as first topic
…st-analyzer-320

dx(vscode): add rust-analyzer workspace settings
…admin-mixed-results

test(contract): support mixed batch admin outcomes (leojay-net#316)
…mmit-hooks

dx: add husky pre-commit hooks for clippy and eslint (leojay-net#314)
feat: add theme toggle to landing page and update transitions (leojay-net#296)
Marvy and others added 29 commits March 30, 2026 06:16
…ty-feed

Wave Feature: recent contract activity feed from indexed events
Feat(frontend): aiAssistant JSDoc, chat state machine unit tests, TypeScript strict check CI step, and wallet haptic feedback
…breaker-tests

leojay-net#356 test(contract): add test for circuit breaker trip and reset
docs: add SDK usage examples for TypeScript client bindings
add unit tests for useTransactionFilters hook
docs: add .env.example and update setup instructions
feat: export chat sessions as JSON and text
feat: implement IP allowlist for admin API access
…exporttoPDF

add transaction history export to PDF
…and-status-badge

Feat/health endpoint and status badge
The outer div (min-h-screen) opened at line 223 was never closed before
</AdminGuard>, causing a TypeScript build error (TS17008).

Fixes leojay-net#448
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] admin/page.tsx — Unclosed JSX div causes TypeScript build failure