mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-25 02:48:23 +01:00
Remove old emoji and sticker pickers
This commit is contained in:
@@ -7,7 +7,6 @@ import type { LocalizerType } from '../types/Util.js';
|
||||
import { ShortcutGuide } from './ShortcutGuide.js';
|
||||
|
||||
export type PropsType = {
|
||||
hasInstalledStickers: boolean;
|
||||
platform: string;
|
||||
readonly closeShortcutGuideModal: () => unknown;
|
||||
readonly i18n: LocalizerType;
|
||||
@@ -16,8 +15,7 @@ export type PropsType = {
|
||||
export const ShortcutGuideModal = React.memo(function ShortcutGuideModalInner(
|
||||
props: PropsType
|
||||
) {
|
||||
const { i18n, closeShortcutGuideModal, hasInstalledStickers, platform } =
|
||||
props;
|
||||
const { i18n, closeShortcutGuideModal, platform } = props;
|
||||
const [root, setRoot] = React.useState<HTMLElement | null>(null);
|
||||
|
||||
React.useEffect(() => {
|
||||
@@ -36,7 +34,6 @@ export const ShortcutGuideModal = React.memo(function ShortcutGuideModalInner(
|
||||
<div className="module-shortcut-guide-container">
|
||||
<ShortcutGuide
|
||||
close={closeShortcutGuideModal}
|
||||
hasInstalledStickers={hasInstalledStickers}
|
||||
i18n={i18n}
|
||||
platform={platform}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user