UNPKG

@reservoir0x/relay-kit-ui

Version:

Relay is the Fastest and Cheapest Way to Bridge and Transact Across Chains.

10 lines 273 B
import { useState } from 'react'; const useFallbackState = (defaultValue, state) => { const _state = useState(defaultValue); if (state) { return state; } return _state; }; export default useFallbackState; //# sourceMappingURL=useFallbackState.js.map