✨ Widget menu in error boundary (#979)
This commit is contained in:
@@ -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