Fix missing icon (#3652)

This PR fixes the missing icon for checkbox-empty.

### Change Type

- [x] `sdk` — Changes the tldraw SDK
- [x] `bugfix` — Bug fix

### Test Plan

1. Open the page menu
2. Create a new page
3. Should be no missing icon
pull/3657/head
Steve Ruiz 2024-04-30 11:17:27 +01:00 zatwierdzone przez GitHub
rodzic 0c68317885
commit 5ab285fb85
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 1 dodań i 3 usunięć

Wyświetl plik

@ -5,7 +5,5 @@ export type TLUiButtonCheckProps = { checked: boolean }
/** @public */
export function TldrawUiButtonCheck({ checked }: TLUiButtonCheckProps) {
return (
<TldrawUiIcon icon={checked ? 'check' : 'checkbox-empty'} className="tlui-button__icon" small />
)
return <TldrawUiIcon icon={checked ? 'check' : 'none'} className="tlui-button__icon" small />
}