Skip to content

Commit

Permalink
remove interactable
Browse files Browse the repository at this point in the history
  • Loading branch information
luludotdev committed Apr 22, 2024
1 parent 879572b commit 3b88ab5
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/react/render.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ interface RenderOptions {
* Enable React Strict Mode, defaults to `true`
*/
strict?: boolean

/**
* Make the UI div interactable on mount, defaults to `false`
*/
interactable?: boolean
}

interface UI {
Expand Down Expand Up @@ -51,8 +46,7 @@ export const renderUI = (
ui: ReactNode,
options: RenderOptions = {},
): UI => {
const interactable = options.interactable ?? false
const dom = game.client.ui.create(interactable)
const dom = game.client.ui.create()

const div = options.container ?? document.createElement('div')
dom.append(div)
Expand Down

0 comments on commit 3b88ab5

Please sign in to comment.