BlueWallet/components/WidgetCommunication.tsx
2024-05-21 11:56:10 +01:00

18 lines
525 B
TypeScript

import React from 'react';
import { TWallet } from '../class/wallets/types';
export const isBalanceDisplayAllowed = async (): Promise<boolean> => {
return true;
};
export const setBalanceDisplayAllowed = async (value: boolean): Promise<void> => {};
export const syncWidgetBalanceWithWallets = async (_wallets: TWallet[], _walletsInitialized: boolean): Promise<void> => {};
const WidgetCommunication: React.FC = () => {
return null; // This component does not render anything.
};
export default WidgetCommunication;