fix PieChart rendering issues by giving default height.
This commit is contained in:
1 parent
c6b2364a41
commit
a7a0d73dd7
6 files changed
+5
-32
No files matched your search
@@ -16,11 +16,6 @@ export const IP_ADDRESS_HEADERS = [
|
||||
'x-forwarded',
|
||||
];
|
||||
|
||||
/**
|
||||
* Normalize IP strings to a canonical form:
|
||||
* - strips IPv4-mapped IPv6 (e.g. ::ffff:192.0.2.1 -> 192.0.2.1)
|
||||
* - keeps valid IPv4/IPv6 as-is (canonically formatted by ipaddr.js)
|
||||
*/
|
||||
function normalizeIp(ip?: string | null) {
|
||||
if (!ip) return ip;
|
||||
|
||||
|
||||
Reference in new issue
Block a user