Skip to content

Commit

Permalink
fix: remove type error for dialogB() and sidePanelB() #1542
Browse files Browse the repository at this point in the history
  • Loading branch information
marek-mihok committed Oct 23, 2022
1 parent 74fb756 commit f64521a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ui/src/dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import React from 'react'
import { Component, XComponents } from './form'
import { bond, wave } from './ui'

export const dialogB: Box<Dialog | null> = box(null)
export const dialogB: Box<Dialog | null> = box()

/**
* A dialog box (Dialog) is a temporary pop-up that takes focus from the page or app
Expand Down
2 changes: 1 addition & 1 deletion ui/src/side_panel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import React from 'react'
import { Component, XComponents } from './form'
import { bond, wave } from './ui'

export const sidePanelB: Box<SidePanel | null> = box(null)
export const sidePanelB: Box<SidePanel | null> = box()

/**
* A dialog box (Dialog) is a temporary pop-up that takes focus from the page or app
Expand Down

0 comments on commit f64521a

Please sign in to comment.