-
Jordan Frankfurt authored
* feat: use default input/output on chain switch * feat(widgets): ErrorGenerator -> PropValidator * default prop validation * useDefaults hook * pr feedback * fix cosmos * drop token map changes * add default inputs to cosmos fixture * set up different validation layers for widget and swap * split widget/swap prop types * cleanup * pr feedback * clear defaults when they're no longer valid on the current chain * remove state checks on validators * stop using address in cosmos fixture * pr feedback * useMemo on useSwapDefaults args * tell the user what they gave to error'd props Co-authored-by:
Zach Pomerantz <zzmp@uniswap.org>
ce96873a
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
ErrorBoundary.tsx | ||
ErrorDialog.tsx | ||
WidgetsPropsValidator.tsx |