@@ -5,7 +5,7 @@ import { useCowAnalytics } from '@cowprotocol/analytics'
55import { OrderKind } from '@cowprotocol/cow-sdk'
66import { CurrencyAmount , Token } from '@cowprotocol/currency'
77import { UiOrderType } from '@cowprotocol/types'
8- import { useIsSmartContractWallet , useSendBatchTransactions , useWalletInfo } from '@cowprotocol/wallet'
8+ import { useSendBatchTransactions , useWalletInfo } from '@cowprotocol/wallet'
99import { WidgetHookEvents } from '@cowprotocol/widget-lib'
1010
1111import { Nullish } from 'types'
@@ -58,7 +58,6 @@ interface TwapOrderEvent extends TwapAnalyticsEvent {
5858// eslint-disable-next-line max-lines-per-function, @typescript-eslint/explicit-function-return-type
5959export function useCreateTwapOrder ( ) {
6060 const { chainId, account } = useWalletInfo ( )
61- const isSmartContractWallet = useIsSmartContractWallet ( )
6261 const twapOrder = useTwapOrder ( )
6362 const addTwapOrderToList = useSetAtom ( addTwapOrderToListAtom )
6463 const navigateToOrdersTableTab = useNavigateToOrdersTableTab ( )
@@ -215,8 +214,9 @@ export function useCreateTwapOrder() {
215214
216215 // TODO: Clear filters if the new order is not visible before navigating.
217216
218- // Navigate to open orders after successful placement
219- navigateToOrdersTableTab ( isSmartContractWallet ? OrderTabId . signing : OrderTabId . open )
217+ // A freshly placed TWAP order is always in WaitSigning until the Safe/SC owners
218+ // sign it, so navigate to the Signing tab (not Open) regardless of wallet type.
219+ navigateToOrdersTableTab ( OrderTabId . signing )
220220 } catch ( error ) {
221221 console . error ( '[useCreateTwapOrder] error' , error )
222222 const errorMessage = getErrorMessage ( error )
@@ -244,7 +244,6 @@ export function useCreateTwapOrder() {
244244 sendTwapConversionAnalytics ,
245245 tradeFlowAnalytics ,
246246 navigateToOrdersTableTab ,
247- isSmartContractWallet ,
248247 ] ,
249248 )
250249}
0 commit comments