Skip to content

Commit d271d73

Browse files
authored
fix incorrect key in list example
1 parent 0287091 commit d271d73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ local list1 = froact.list({ setOrder = true }, {
104104
Timer({}) -- Gets named Timer, since `name` was defined on it.
105105
ReverseLabel({ text = "This line is last" }) -- Gets named ReverseLabel, and has `layoutOrder` set.
106106
})
107-
local list2 = froact.list({ orderByName = true, key = "text" }, {
107+
local list2 = froact.list({ orderByName = true, key = "Text" }, {
108108
froact.UIListLayout({ SortOrder = Enum.SortOrder.Name }), -- Gets named UIListLayout
109109
froact.TextLabel({ Text = "First line" }), -- Gets named 1 | First line
110110
froact.TextLabel({ Text = "Second line" }), -- Gets named 2 | Second line

0 commit comments

Comments
 (0)