mirror of
https://github.com/luxfi/explore.git
synced 2026-10-30 14:46:12 +00:00
18 lines
512 B
TypeScript
18 lines
512 B
TypeScript
import React from 'react';
|
|
|
|
import useSocketChannel from 'lib/socket/useSocketChannel';
|
|
|
|
import type { Props } from './ContractDetailsAlerts';
|
|
import ContractDetailsAlerts from './ContractDetailsAlerts';
|
|
|
|
const ContractDetailsAlertsPwStory = (props: Props) => {
|
|
const channel = useSocketChannel({
|
|
topic: `addresses:${ props.addressData.hash.toLowerCase() }`,
|
|
isDisabled: false,
|
|
});
|
|
|
|
return <ContractDetailsAlerts { ...props } channel={ channel }/>;
|
|
};
|
|
|
|
export default ContractDetailsAlertsPwStory;
|