Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read properties of undefined in HtmlApp.ts #539

Open
KallynGowdy opened this issue Aug 29, 2024 · 1 comment · May be fixed by #579
Open

Cannot read properties of undefined in HtmlApp.ts #539

KallynGowdy opened this issue Aug 29, 2024 · 1 comment · May be fixed by #579
Assignees
Labels
area:player Is related to the player frontend. (Everything in aux-server/aux-web/aux-player) bug Something isn't working

Comments

@KallynGowdy
Copy link
Member

Image

@KallynGowdy KallynGowdy converted this from a draft issue Aug 29, 2024
@KallynGowdy KallynGowdy added bug Something isn't working area:player Is related to the player frontend. (Everything in aux-server/aux-web/aux-player) labels Aug 29, 2024
@MostlyBen
Copy link
Contributor

Trying to reproduce this. So far, the only context I can find is when an app is unregistered while being mounted. Example:

os.unregisterApp('test');
os.registerApp('test', thisBot);

const App = () => {
    os.unregisterApp('test')
    return (
        <button onClick={() => os.toast("clicked")}>
            click me
        </button>
    )
}

os.compileApp('test', <App />);

@MostlyBen MostlyBen linked a pull request Dec 15, 2024 that will close this issue
@KallynGowdy KallynGowdy moved this from Backlog to In review in CasualOS Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:player Is related to the player frontend. (Everything in aux-server/aux-web/aux-player) bug Something isn't working
Projects
Status: In review
Development

Successfully merging a pull request may close this issue.

2 participants