✨ Widget menu in error boundary (#979)
This commit is contained in:
1 parent
173b40684c
commit
a54f03df1f
5 files changed
+87
-71
No files matched your search
@@ -34,7 +34,7 @@ interface DateTileProps {
|
||||
function DateTile({ widget }: DateTileProps) {
|
||||
const date = useDateState();
|
||||
const formatString = widget.properties.display24HourFormat ? 'HH:mm' : 'h:mm A';
|
||||
const { width, height, ref } = useElementSize();
|
||||
const { width, ref } = useElementSize();
|
||||
|
||||
return (
|
||||
<Stack ref={ref} spacing="xs" justify="space-around" align="center" style={{ height: '100%' }}>
|
||||
|
||||
Reference in new issue
Block a user