Current section
Files
Jump to
Current section
Files
lib/application.ex
defmodule GenEditor.Application do
@moduledoc false
use Application
@impl true
def start(_type, _args) do
Kino.SmartCell.register(GenEditor.ElementEditor)
# TODO: rename the project to be in line with Kino widelines. Ex: kino_gen, kino_gen_editor
children = []
opts = [strategy: :one_for_one, name: KinoDB.Supervisor]
Supervisor.start_link(children, opts)
end
end