KBExit Just saw your repo, only the compiled js is there, might be hard made changes in the future
But the code is quite short, let see what I can do about it
This is what I decompiled
Seems like it is from quite a old version of flarum, probably need some update on the imports
you can try to update the imports using the cli and compile again, should be quite an easy fix
js/src/forum/index.js:
import {extend} from 'flarum/extend';
import app from 'flarum/app';
import IndexPage from 'flarum/components/IndexPage';
import Search from 'flarum/components/Search';
app.initializers.add('clarkwinkelmann-mobile-search', () => {
extend(IndexPage.prototype, 'viewItems', function (items) {
items.add('search', Search.component({
state: app.search,
}), -100);
});
});