mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-21 00:48:19 +01:00
Rename files
This commit is contained in:
23
ts/state/smart/ShortcutGuideModal.preload.tsx
Normal file
23
ts/state/smart/ShortcutGuideModal.preload.tsx
Normal file
@@ -0,0 +1,23 @@
|
||||
// Copyright 2019 Signal Messenger, LLC
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
import React, { memo } from 'react';
|
||||
import { useSelector } from 'react-redux';
|
||||
import { ShortcutGuideModal } from '../../components/ShortcutGuideModal.dom.js';
|
||||
import { getIntl, getPlatform } from '../selectors/user.std.js';
|
||||
import { useGlobalModalActions } from '../ducks/globalModals.preload.js';
|
||||
|
||||
export const SmartShortcutGuideModal = memo(function SmartShortcutGuideModal() {
|
||||
const i18n = useSelector(getIntl);
|
||||
const platform = useSelector(getPlatform);
|
||||
|
||||
const { closeShortcutGuideModal } = useGlobalModalActions();
|
||||
|
||||
return (
|
||||
<ShortcutGuideModal
|
||||
platform={platform}
|
||||
closeShortcutGuideModal={closeShortcutGuideModal}
|
||||
i18n={i18n}
|
||||
/>
|
||||
);
|
||||
});
|
||||
Reference in New Issue
Block a user