/*
 * SPDX-FileCopyrightText: 2023 Kristóf Marussy
 *
 * SPDX-License-Identifier: MIT
 */

import type { Props } from '@theme/Root';
import Root from '@theme-original/Root';

import ActiveSectionProvider from '@site/src/components/ActiveSectionProvider';

export default function RootWrapper(props: Props) {
  return (
    <ActiveSectionProvider>
      <Root {...props} />
    </ActiveSectionProvider>
  );
}
