Browse Source

fix import errors

Yuki Takei 3 years ago
parent
commit
417450c39e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      apps/app/src/components/PageComment/Comment.tsx

+ 1 - 1
apps/app/src/components/PageComment/Comment.tsx

@@ -1,7 +1,7 @@
 import React, { useEffect, useMemo, useState } from 'react';
 
 import type { IUser } from '@growi/core';
-import { pathUtils } from '@growi/core/dist/utils/page-utils';
+import * as pathUtils from '@growi/core/dist/utils/path-utils';
 import { UserPicture } from '@growi/ui/dist/components/User/UserPicture';
 import { format, parseISO } from 'date-fns';
 import { useTranslation } from 'next-i18next';