mirror of
https://github.com/harness/drone.git
synced 2025-05-21 11:29:52 +08:00
feat: [code-1195]: add props for new hook (#894)
This commit is contained in:
parent
7e70ebd5f1
commit
4d550a78bd
@ -64,6 +64,7 @@ export interface AppProps {
|
||||
usePermissionTranslate: Unknown
|
||||
useGenerateToken: Unknown
|
||||
useExecutionDataHook: Unknown
|
||||
useLogsContentHook: Unknown
|
||||
}>
|
||||
|
||||
currentUser: Required<TypesUser>
|
||||
|
@ -34,7 +34,8 @@ ReactDOM.render(
|
||||
routes={routes}
|
||||
hooks={{
|
||||
usePermissionTranslate: noop,
|
||||
useExecutionDataHook: noop
|
||||
useExecutionDataHook: noop,
|
||||
useLogsContentHook: noop
|
||||
}}
|
||||
currentUser={defaultCurrentUser}
|
||||
currentUserProfileURL=""
|
||||
|
Loading…
Reference in New Issue
Block a user