Skip to content

Commit

Permalink
Removed some root layout elements from React Admin interface
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianLeChat committed Jan 2, 2024
1 parent cc0fad0 commit 3f49a9b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/[locale]/components/administration.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,10 @@ export const customDataProvider = withLifecycleCallbacks(

export default function Administration()
{
// Suppression des éléments inutiles.
document.querySelector( "video" )?.remove();
document.querySelector( "footer" )?.remove();

// Affichage du rendu HTML du composant.
return (
<Admin
Expand Down

0 comments on commit 3f49a9b

Please sign in to comment.