diff --git a/src/AdminGuesser.tsx b/src/AdminGuesser.tsx
index c92ca6c0..191b525b 100644
--- a/src/AdminGuesser.tsx
+++ b/src/AdminGuesser.tsx
@@ -1,4 +1,5 @@
import React, { useCallback, useEffect, useMemo, useState } from 'react';
+import { CoreAdminContext } from 'ra-core';
import PropTypes from 'prop-types';
import {
Admin,
@@ -175,23 +176,25 @@ const AdminGuesser = ({
);
return (
-
-
-
- {children}
-
-
-
+
+
+
+
+ {children}
+
+
+
+
);
};