relay-todomvc icon indicating copy to clipboard operation
relay-todomvc copied to clipboard

Unable to add path to found-modern branch

Open fameoflight opened this issue 4 years ago • 0 comments

Hey tried adding a simple route to found-modern

export const routeConfig = makeRouteConfig(
  <Route
    path="/"
    Component={TodoApp}
    query={graphql`
      query router_TodoApp_Query {
        viewer {
          ...TodoApp_viewer
        }
      }
    `}
  >
    <Route path="signin" Component={() => <div>Hello World</div>} />
    <Route
      Component={TodoList}
      query={TodoListQuery}
      prepareVariables={(params) => ({ ...params, status: 'any' })}
    />
    <Route path=":status" Component={TodoList} query={TodoListQuery} />
  </Route>,
);

the same code works fine in found-modern-universal

Any idea what I might be doing wrong here? Would really appreciate any help. @taion

fameoflight avatar Oct 06 '20 07:10 fameoflight