aboutsummaryrefslogtreecommitdiffstats
path: root/src/theme/Root.tsx
blob: 9459e9f729a3d9fb7aba11b786878bf819e16f04 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * 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>
  );
}