mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 14:13:43 +01:00
Github Sync: fix for 6.3.0
This commit is contained in:
+3
-3
@@ -3,7 +3,7 @@ import useAsync from '@/shared/hooks/use-async'
|
||||
import { deleteJSON } from '@/infrastructure/fetch-json'
|
||||
import { OLModalBody, OLModalFooter } from '@/shared/components/ol/ol-modal'
|
||||
import OLButton from '@/shared/components/ol/ol-button'
|
||||
import OLNotification from '@/shared/components/ol/ol-notification'
|
||||
import Notification from '@/shared/components/notification'
|
||||
import { debugConsole } from '@/utils/debugging'
|
||||
import { ProjectSyncState, GitSyncModalStatus } from '../../types/git-sync-types'
|
||||
|
||||
@@ -51,12 +51,12 @@ const GitSyncUnlinkModal = ({
|
||||
<hr />
|
||||
|
||||
{!error ? (
|
||||
<OLNotification
|
||||
<Notification
|
||||
type="warning"
|
||||
content={t('unlink_the_project_from_the_current_github_repo')}
|
||||
/>
|
||||
) : (
|
||||
<OLNotification
|
||||
<Notification
|
||||
type="error"
|
||||
content={
|
||||
error.info?.statusCode === 403 ? (
|
||||
|
||||
Reference in New Issue
Block a user