mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
chore(console): add app insights for webhook pages (#3845)
This commit is contained in:
parent
baa16b0bb7
commit
9ddf0d7578
2 changed files with 4 additions and 2 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
import { withAppInsights } from '@logto/app-insights/react';
|
||||||
import { type Hook } from '@logto/schemas';
|
import { type Hook } from '@logto/schemas';
|
||||||
import { useEffect, useState } from 'react';
|
import { useEffect, useState } from 'react';
|
||||||
import { toast } from 'react-hot-toast';
|
import { toast } from 'react-hot-toast';
|
||||||
|
@ -195,4 +196,4 @@ function WebhookDetails() {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
export default WebhookDetails;
|
export default withAppInsights(WebhookDetails);
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
import { withAppInsights } from '@logto/app-insights/react';
|
||||||
import { type HookEvent, type Hook, Theme } from '@logto/schemas';
|
import { type HookEvent, type Hook, Theme } from '@logto/schemas';
|
||||||
import { conditional } from '@silverhand/essentials';
|
import { conditional } from '@silverhand/essentials';
|
||||||
import { toast } from 'react-hot-toast';
|
import { toast } from 'react-hot-toast';
|
||||||
|
@ -141,4 +142,4 @@ function Webhooks() {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
export default Webhooks;
|
export default withAppInsights(Webhooks);
|
||||||
|
|
Loading…
Reference in a new issue