Skip to content

Commit

Permalink
Move both cookie related functions to its own folder
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeyGuyDylan committed Mar 7, 2025
1 parent b626dec commit c56a188
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import { useContext, useEffect, useCallback } from 'react';
import { NOTICE_PRIORITY_HIGH } from '../../context/constants';
import { NoticeContext } from '../../context/notices/noticeContext';
import { applyTimezone } from '../../utils/apply-timezone';
import checkForCookie from '../../utils/check-for-cookie';
import createCookie from '../../utils/create-cookie';
import checkForCookie from '../../utils/cookies/check-for-cookie';
import createCookie from '../../utils/cookies/create-cookie';
import preventWidows from '../../utils/prevent-widows';
import useAnalytics from '../use-analytics';
import { useGetReadableFailedBackupReason } from './use-get-readable-failed-backup-reason';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { __ } from '@wordpress/i18n';
import { useContext, useEffect, useCallback, useMemo } from 'react';
import { NOTICE_PRIORITY_MEDIUM } from '../../context/constants';
import { NoticeContext } from '../../context/notices/noticeContext';
import checkForCookie from '../../utils/check-for-cookie';
import createCookie from '../../utils/create-cookie';
import checkForCookie from '../../utils/cookies/check-for-cookie';
import createCookie from '../../utils/cookies/create-cookie';
import useAnalytics from '../use-analytics';
import { useGetExpiringNoticeContent } from './use-get-expiring-notice-content';
import type { NoticeHookType } from './types';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import useInstallPlugins from '../../data/products/use-install-plugins';
import useSimpleQuery from '../../data/use-simple-query';
import { getMyJetpackWindowInitialState } from '../../data/utils/get-my-jetpack-window-state';
import useMyJetpackConnection from '../../hooks/use-my-jetpack-connection';
import checkForCookie from '../../utils/check-for-cookie';
import createCookie from '../../utils/create-cookie';
import checkForCookie from '../../utils/cookies/check-for-cookie';
import createCookie from '../../utils/cookies/create-cookie';
import useAnalytics from '../use-analytics';
import { useGetPaidPlanNeedsPluginsContent } from './get-paid-plan-needs-plugins-content';
import type { NoticeHookType } from './types';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import { useContext, useEffect, useCallback } from 'react';
import { NOTICE_PRIORITY_MEDIUM } from '../../context/constants';
import { NoticeContext } from '../../context/notices/noticeContext';
import useProduct from '../../data/products/use-product';
import checkForCookie from '../../utils/check-for-cookie';
import createCookie from '../../utils/create-cookie';
import checkForCookie from '../../utils/cookies/check-for-cookie';
import createCookie from '../../utils/cookies/create-cookie';
import preventWidows from '../../utils/prevent-widows';
import useAnalytics from '../use-analytics';
import type { NoticeHookType } from './types';
Expand Down

0 comments on commit c56a188

Please sign in to comment.