• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

JedWatson / react-select / 36c10f1a-e614-479e-8065-a6ee4ffe0d2e

11 Dec 2024 10:57PM UTC coverage: 75.844%. Remained the same
36c10f1a-e614-479e-8065-a6ee4ffe0d2e

Pull #5984

circleci

web-flow
Create five-ligers-beg.md
Pull Request #5984: Add peer version to include 19

658 of 1052 branches covered (62.55%)

1033 of 1362 relevant lines covered (75.84%)

1934.69 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/packages/react-select/src/NonceProvider.tsx
1
import * as React from 'react';
2
import { useMemo } from 'react';
3
import { ReactNode } from 'react';
4
import { CacheProvider } from '@emotion/react';
5
import createCache from '@emotion/cache';
6

7
interface NonceProviderProps {
8
  nonce: string;
9
  children: ReactNode;
10
  cacheKey: string;
11
}
12

13
export default ({ nonce, children, cacheKey }: NonceProviderProps) => {
14
  const emotionCache = useMemo(
×
15
    () => createCache({ key: cacheKey, nonce }),
×
16
    [cacheKey, nonce]
17
  );
18
  return <CacheProvider value={emotionCache}>{children}</CacheProvider>;
×
19
};
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc