Skip to content

Commit 0b6c280

Browse files
committed
fix: changing toReversed to reverse
1 parent 233d4ee commit 0b6c280

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

templates/react/code-router/src/main.tsx.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const rootRoute = createRootRoute({
3232
<% for(const integration of integrations.filter(i => i.type === 'layout')) { %>
3333
<<%= integration.name %> />
3434
<% } %>
35-
<% for(const integration of integrations.filter(i => i.type === 'provider').toReversed()) { %>
35+
<% for(const integration of integrations.filter(i => i.type === 'provider').reverse()) { %>
3636
</<%= integration.name %>>
3737
<% } %>
3838
</>

templates/react/file-router/src/routes/__root.tsx.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export const Route = createRootRoute({
4747
<% for(const integration of integrations.filter(i => i.type === 'layout')) { %>
4848
<<%= integration.name %> />
4949
<% } %>
50-
<% for(const integration of integrations.filter(i => i.type === 'provider').toReversed()) { %>
50+
<% for(const integration of integrations.filter(i => i.type === 'provider').reverse()) { %>
5151
</<%= integration.name %>>
5252
<% } %>
5353
<% if (addOnEnabled.start) { %></RootDocument><% } else { %></><% } %>

templates/solid/code-router/src/main.tsx.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const rootRoute = createRootRoute({
3030
<% for(const integration of integrations.filter(i => i.type === 'layout')) { %>
3131
<<%= integration.name %> />
3232
<% } %>
33-
<% for(const integration of integrations.filter(i => i.type === 'provider').toReversed()) { %>
33+
<% for(const integration of integrations.filter(i => i.type === 'provider').reverse()) { %>
3434
</<%= integration.name %>>
3535
<% } %>
3636
</>

templates/solid/file-router/src/routes/__root.tsx.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function RootComponent() {
3333
<<%= integration.name %> />
3434
<% } %>
3535
36-
<% for(const integration of integrations.filter(i => i.type === 'provider').toReversed()) { %>
36+
<% for(const integration of integrations.filter(i => i.type === 'provider').reverse()) { %>
3737
</<%= integration.name %>>
3838
<% } %>
3939
</>

0 commit comments

Comments
 (0)