Skip to content

Commit

Permalink
fix: hasRoutes
Browse files Browse the repository at this point in the history
  • Loading branch information
alicanerdurmaz committed Jan 23, 2024
1 parent ad768f1 commit 599c1fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion refine-nextjs/plugins/auth-provider-google/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export type NextPageWithLayout<P = {}, IP = P> = NextPage<P, IP> & {
<Refine
routerProvider={routerProvider}
<%- (_app.refineProps || []).join("\n") %>
<%_ if (answers["inferencer"] === 'inferencer' || answers["inferencer-headless"] === 'inferencer-headless') { _%>
<%_ if (_app.hasRoutes === true) { _%>
resources={[
<%_ if (answers["data-provider"] === 'data-provider-strapi-v4') { _%>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export type NextPageWithLayout<P = {}, IP = P> = NextPage<P, IP> & {
<Refine
routerProvider={routerProvider}
<%- (_app.refineProps || []).join("\n") %>
<%_ if (answers["inferencer"] === 'inferencer' || answers["inferencer-headless"] === 'inferencer-headless') { _%>
<%_ if (_app.hasRoutes === true) { _%>
resources={[
<%_ if (answers["data-provider"] === 'data-provider-strapi-v4') { _%>
{
Expand Down

0 comments on commit 599c1fc

Please sign in to comment.