mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-07 14:18:47 +00:00
- Change block to return configure translation text
This commit is contained in:
parent
1c158f743c
commit
769f36fa8e
1 changed files with 5 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue