Perf/web app authrozation (#22524)
This commit is contained in:
parent
a3ced1b5a6
commit
a324d3942e
35 changed files with 592 additions and 441 deletions
|
|
@ -8,6 +8,8 @@ type IExplore = {
|
|||
hasEditPermission: boolean
|
||||
installedApps: InstalledApp[]
|
||||
setInstalledApps: (installedApps: InstalledApp[]) => void
|
||||
isFetchingInstalledApps: boolean
|
||||
setIsFetchingInstalledApps: (isFetchingInstalledApps: boolean) => void
|
||||
}
|
||||
|
||||
const ExploreContext = createContext<IExplore>({
|
||||
|
|
@ -16,6 +18,8 @@ const ExploreContext = createContext<IExplore>({
|
|||
hasEditPermission: false,
|
||||
installedApps: [],
|
||||
setInstalledApps: noop,
|
||||
isFetchingInstalledApps: false,
|
||||
setIsFetchingInstalledApps: noop,
|
||||
})
|
||||
|
||||
export default ExploreContext
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue