Remove local ProviderKey type
cgen-f08df78a648d499c8a519318cc5dde80
This commit is contained in:
parent
60a5a21934
commit
787ab10e31
1 changed files with 0 additions and 7 deletions
|
|
@ -89,13 +89,6 @@ export default function Dashboard() {
|
|||
const [applications, setApplications] = useState<any[]>([]);
|
||||
const [connectionAction, setConnectionAction] = useState<string | null>(null);
|
||||
|
||||
type ProviderKey = "google" | "github";
|
||||
|
||||
const linkedProviderSet = useMemo(
|
||||
() => new Set(linkedProviders.map((item) => item.provider)),
|
||||
[linkedProviders],
|
||||
);
|
||||
|
||||
const linkedProviderMap = useMemo(() => {
|
||||
const map: Record<string, (typeof linkedProviders)[number]> = {};
|
||||
linkedProviders.forEach((lp) => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue