mirror of
https://github.com/Xevion/rdap.git
synced 2025-12-06 01:16:00 -06:00
Use AbstractCard for Generic 'unimplemented' case
This commit is contained in:
@@ -7,6 +7,7 @@ import type {
|
||||
Nameserver,
|
||||
IpNetwork,
|
||||
} from "@/types";
|
||||
import AbstractCard from "@/components/common/AbstractCard";
|
||||
|
||||
export type ParsedGeneric =
|
||||
| Domain
|
||||
@@ -28,9 +29,9 @@ const Generic: FunctionComponent<ObjectProps> = ({ data }: ObjectProps) => {
|
||||
case "nameserver":
|
||||
default:
|
||||
return (
|
||||
<div className="my-2">
|
||||
<AbstractCard>
|
||||
Not implemented. (<pre>{data.objectClassName ?? "null"}</pre>)
|
||||
</div>
|
||||
</AbstractCard>
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user