[catalog/setup][xs]: updates for deployment.
- Set DMS to demo.dev.datopian.com which has more datasets than demo.ckan.org. - Fix typesript bug which was breaking previous deployment. - Update yarn.lock file so that 'portal' is installed from the latest commit.
This commit is contained in:
@@ -30,7 +30,7 @@ const Org: React.FC<{ variables: any }> = ({ variables }) => {
|
||||
export const getServerSideProps: GetServerSideProps = async (context) => {
|
||||
const apolloClient = initializeApollo();
|
||||
const variables = {
|
||||
id: context.query.org.replace('@', ''),
|
||||
id: (context.query.org as string).replace('@', ''),
|
||||
};
|
||||
|
||||
await apolloClient.query({
|
||||
|
||||
Reference in New Issue
Block a user