Fix missing button styling on error dialog

This commit is contained in:
Valere
2025-07-31 15:00:21 +02:00
parent c7b0f9783d
commit 007a50d0f1

View File

@@ -21,6 +21,7 @@ import {
OfflineIcon, OfflineIcon,
WebBrowserIcon, WebBrowserIcon,
} from "@vector-im/compound-design-tokens/assets/web/icons"; } from "@vector-im/compound-design-tokens/assets/web/icons";
import { Button } from "@vector-im/compound-web";
import { import {
ConnectionLostError, ConnectionLostError,
@@ -93,9 +94,13 @@ const ErrorPage: FC<ErrorPageProps> = ({
</p> </p>
{actions && {actions &&
actions.map((action, index) => ( actions.map((action, index) => (
<button onClick={action.onClick} key={`action${index}`}> <Button
kind="secondary"
onClick={action.onClick}
key={`action${index}`}
>
{action.label} {action.label}
</button> </Button>
))} ))}
</ErrorView> </ErrorView>
</FullScreenView> </FullScreenView>