Move admin-pack recipe to admin-meta (#1061)

This commit is contained in:
Nicolas Grekas
2022-02-17 16:40:03 +01:00
committed by GitHub
parent 229cf92748
commit 615cc3c7b1
6 changed files with 7 additions and 5 deletions
@@ -1,7 +0,0 @@
import React from 'react';
import ReactDOM from 'react-dom';
import { HydraAdmin } from '@api-platform/admin';
const entrypoint = document.getElementById('api-entrypoint').innerText;
ReactDOM.render(<HydraAdmin entrypoint={entrypoint}/>, document.getElementById('api-platform-admin'));