mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-03 14:38:45 +00:00
update for PR feedback
This commit is contained in:
1 parent
f3f055944c
commit
c8f680fdfb
4 files changed
+2
-10
No files matched your search
@@ -20,10 +20,6 @@ import { useProfile } from '../hooks/useProfile';
|
||||
import ProfilePrompt from './profile/ProfilePrompt';
|
||||
import InjectDebugData from '../../../os/debug/InjectDebugData';
|
||||
import { TwitterThemeProvider } from '../providers/TwitterThemeProvider';
|
||||
import DefaultProfilePrompt from './profile/DefaultProfilePrompt';
|
||||
import { useRecoilValue } from 'recoil';
|
||||
import { twitterState } from '../hooks/state';
|
||||
import { Profile } from '../../../../../typings/twitter';
|
||||
|
||||
const useStyles = makeStyles(() => ({
|
||||
backgroundModal: {
|
||||
|
||||
@@ -1,13 +1,10 @@
|
||||
import React, { useState } from 'react';
|
||||
import React from 'react';
|
||||
import { makeStyles } from '@material-ui/core/styles';
|
||||
import InputLabel from '@material-ui/core/InputLabel';
|
||||
import MenuItem from '@material-ui/core/MenuItem';
|
||||
import FormControl from '@material-ui/core/FormControl';
|
||||
import Select from '@material-ui/core/Select';
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
import Nui from '../../../../os/nui-events/utils/Nui';
|
||||
import { useProfile } from '../../hooks/useProfile';
|
||||
import ProfileUpdateButton from '../buttons/ProfileUpdateButton';
|
||||
|
||||
interface IProps {
|
||||
|
||||
@@ -9,7 +9,6 @@ import DefaultProfilePrompt from './DefaultProfilePrompt';
|
||||
import ProfileUpdateButton from '../buttons/ProfileUpdateButton';
|
||||
import { useRecoilValue } from 'recoil';
|
||||
import { twitterState } from '../../hooks/state';
|
||||
import { useSettings } from '../../../settings/hooks/useSettings';
|
||||
import { usePhone } from '../../../../os/phone/hooks/usePhone';
|
||||
|
||||
const useStyles = makeStyles((theme) => ({
|
||||
|
||||
@@ -330,7 +330,7 @@ onNet(events.TWITTER_GET_OR_CREATE_PROFILE, async () => {
|
||||
twitterLogger.error(`Failed to get or create profile, ${e.message}`, {
|
||||
source: _source,
|
||||
});
|
||||
emitNet(events.TWITTER_GET_OR_CREATE_PROFILE_FAILURE, _source, null);
|
||||
emitNet(events.TWITTER_GET_OR_CREATE_PROFILE_FAILURE, _source);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user