Skip to content

Commit dd6bd52

Browse files
Remove getindex in app
1 parent ca9e950 commit dd6bd52

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/app/dashapp.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,7 @@ mutable struct DashApp
4141
end
4242

4343
const VecChildTypes = Union{NTuple{N, DashBase.Component} where {N}, Vector{<:DashBase.Component}}
44-
function Base.getindex(app::Dash.DashApp, id::AbstractString)
45-
app.layout[id]
46-
end
44+
4745
function Base.getindex(component::DashBase.Component, id::AbstractString)
4846
component.id == id && return component
4947
hasproperty(component, :children) || return nothing

0 commit comments

Comments
 (0)