Skip to content

Commit fb8aa87

Browse files
committed
Privatize useAssetURL
1 parent f07832d commit fb8aa87

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

packages/fluent-theme/src/components/assets/SlidingDots.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import { hooks } from 'botframework-webchat-component';
22
import React, { memo, useCallback, useEffect, useRef } from 'react';
33
import { useRefFrom } from 'use-ref-from';
4-
import useAssetURL from './useAssetURL';
4+
5+
import useAssetURL from './private/useAssetURL';
56

67
const { useLocalizer, useShouldReduceMotion } = hooks;
78

packages/fluent-theme/src/components/assets/useAssetURL.ts renamed to packages/fluent-theme/src/components/assets/private/useAssetURL.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { type AssetName } from './AssetName';
2-
import useContext from './private/useContext';
1+
import { type AssetName } from '../AssetName';
2+
import useContext from './useContext';
33

44
export default function useAssetURL(assetName: AssetName): readonly [URL] {
55
const urlState = useContext().urlStateMap.get(assetName);

0 commit comments

Comments
 (0)