);
}
+function TokenInfoScreen(props: {
+ tokenAddress: string;
+ chainId: number;
+ client: ThirdwebClient;
+ onBack: () => void;
+ currency: SupportedFiatCurrency;
+}) {
+ const theme = useCustomTheme();
+ const tokenQuery = useTokenPrice({
+ token: {
+ tokenAddress: props.tokenAddress,
+ chainId: props.chainId,
+ },
+ client: props.client,
+ });
+ const token = tokenQuery.data;
+
+ if (tokenQuery.isPending) {
+ return (
+