# yatra/3.0.15/templates/partials/account-react-root.php

Yatra – Travel Booking &amp; Tour Operator Software, version 3.0.15. 13 lines.

- Page: https://pluginprobe.com/plugins/yatra/3.0.15/code/templates/partials/account-react-root.php
- Raw: https://pluginprobe.com/plugins/yatra/3.0.15/raw/templates/partials/account-react-root.php
- Modified: 2026-04-14T03:47:24+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/yatra/3.0.15/code/templates/partials/account-react-root.php#L10-L20`.

```php
<?php
/**
 * Shared React mount for customer account (virtual route + [yatra_my_account] shortcode).
 *
 * Expects boolean $yatra_account_react_embed: false = standalone full page, true = inside theme content.
 */
defined('ABSPATH') || exit();

$embed = !empty($yatra_account_react_embed);
$min_h = $embed ? 'min(85vh, 900px)' : '100vh';
?>
<div id="yatra-account-page-root" class="yatra-account-react-root<?php echo $embed ? ' yatra-account-react-root--embed' : ''; ?>" style="width:100%;min-height:<?php echo esc_attr($min_h); ?>;display:block;"></div>

```
