mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Convert search page to react
This commit is contained in:
parent
c7296753af
commit
903b656f7f
7 changed files with 70 additions and 43 deletions
|
@ -7,7 +7,7 @@ export default (view, params, { detail }) => {
|
|||
if (detail.options?.pageComponent) {
|
||||
import(/* webpackChunkName: "[request]" */ `./pages/${detail.options.pageComponent}`)
|
||||
.then(({ default: component }) => {
|
||||
ReactDOM.render(React.createElement(component), view);
|
||||
ReactDOM.render(React.createElement(component, params), view);
|
||||
});
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue