Skip to content

Commit

Permalink
Testing warning
Browse files Browse the repository at this point in the history
  • Loading branch information
toresbe committed Feb 22, 2024
1 parent 9a645a6 commit 750e93f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/core/components/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,20 @@ const globalStyle = (theme: Theme) => css`
`

window.update = (data: any) => {
console.log(`Update was called with ${JSON.stringify(data)}`)
console.error(`Update was called with ${JSON.stringify(data)}`)
}

window.next = () => {
console.log("Next was called")
console.error("Next was called")
}

window.handleError = console.error
window.handleWarning = console.log
window.handleWarning = console.error

export type AppState = "idle" | "active" | "exit"

console.warn("Test warning")

const LoadingDiv = styled.div`
flex-grow: 1;
background: #333;
Expand Down

0 comments on commit 750e93f

Please sign in to comment.