Skip to content

Commit

Permalink
fix: 前前个提交的遗漏
Browse files Browse the repository at this point in the history
  • Loading branch information
AmeroHan committed Jan 26, 2024
1 parent 9c55c45 commit 32cf02a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion acandy/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ Fragment_mt = {
---@param children any?
---@return Fragment
local function Fragment(children)
if type(children) == 'table' and not rawget(children, SYM_TAG_NAME) then
if type(children) == 'table' and is_table_fragment_like(children) then
return setmetatable(utils.shallow_icopy(children), Fragment_mt)
end
return setmetatable({children}, Fragment_mt)
Expand Down

0 comments on commit 32cf02a

Please sign in to comment.