mirror of
https://github.com/karl0ss/homepage.git
synced 2025-04-29 12:03:41 +01:00
- Change block to return configure translation text
This commit is contained in:
parent
1c158f743c
commit
769f36fa8e
@ -19,7 +19,11 @@ export default function CoinMarketCap({ service }) {
|
|||||||
);
|
);
|
||||||
|
|
||||||
if (!symbols || symbols.length === 0) {
|
if (!symbols || symbols.length === 0) {
|
||||||
return <Widget error="Not tracking any symbols" />;
|
return (
|
||||||
|
<Widget>
|
||||||
|
<Block value={t("coinmarketcap.configure")} />
|
||||||
|
</Widget>
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (statsError) {
|
if (statsError) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user