mirror of
https://github.com/vector-im/element-call.git
synced 2026-02-02 04:05:56 +00:00
Fix missing button styling on error dialog
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user