Remove 'use strict' expressions

This commit is contained in:
Alex Gleason 2023-09-20 11:55:04 -05:00
parent d4340162ef
commit e9b245b7d4
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7
18 changed files with 0 additions and 35 deletions

View file

@ -3,7 +3,6 @@
* @see {@link https://github.com/axios/axios}
* @module soapbox/api
*/
'use strict';
import axios, { AxiosInstance, AxiosResponse } from 'axios';
import LinkHeader from 'http-link-header';

View file

@ -1,5 +1,3 @@
'use strict';
import { QueryClientProvider } from '@tanstack/react-query';
import clsx from 'clsx';
import React, { useState, useEffect } from 'react';

View file

@ -1,5 +1,3 @@
'use strict';
import { useMutation } from '@tanstack/react-query';
import { AxiosError } from 'axios';
import { List as ImmutableList } from 'immutable';

View file

@ -1,5 +1,3 @@
'use strict';
import clsx from 'clsx';
import React from 'react';
import { defineMessages, FormattedMessage, useIntl } from 'react-intl';

View file

@ -1,5 +1,3 @@
'use strict';
import React from 'react';
import { FormattedMessage } from 'react-intl';

View file

@ -1,5 +1,3 @@
'use strict';
import React from 'react';
import { Button, HStack } from 'soapbox/components/ui';

View file

@ -1,5 +1,3 @@
'use strict';
import React from 'react';
import { useIntl, defineMessages } from 'react-intl';

View file

@ -1,5 +1,3 @@
'use strict';
import React from 'react';
import { useIntl, defineMessages, FormattedMessage } from 'react-intl';

View file

@ -1,5 +1,3 @@
'use strict';
import React from 'react';
import { defineMessages, useIntl, FormattedMessage } from 'react-intl';

View file

@ -1,5 +1,3 @@
'use strict';
import clsx from 'clsx';
import React, { useEffect, useRef } from 'react';
import { Switch, useHistory, useLocation, Redirect } from 'react-router-dom';

View file

@ -1,5 +1,3 @@
'use strict';
import { supportsPassiveEvents } from 'detect-passive-events';
/** Breakpoint at which the application is considered "mobile". */

View file

@ -1,5 +1,3 @@
'use strict';
import { AnyAction } from 'redux';
import { play, soundCache } from 'soapbox/utils/sounds';

View file

@ -1,5 +1,3 @@
'use strict';
export default function ready(loaded: () => void): void {
if (['interactive', 'complete'].includes(document.readyState)) {
loaded();

View file

@ -1,5 +1,3 @@
'use strict';
import { Record as ImmutableRecord } from 'immutable';
import { fetchInstance } from 'soapbox/actions/instance';

View file

@ -1,5 +1,3 @@
'use strict';
// U+0590 to U+05FF - Hebrew
// U+0600 to U+06FF - Arabic
// U+0700 to U+074F - Syriac

View file

@ -1,5 +1,3 @@
'use strict';
export default class Settings {
keyBase: string | null = null;

View file

@ -1,5 +1,3 @@
'use strict';
import WebSocketClient from '@gamestdio/websocket';
import { getAccessToken } from 'soapbox/utils/auth';

View file

@ -1,5 +1,3 @@
'use strict';
/**
* Compare numerical primary keys represented as strings.
* For example, '10' (as a string) is considered less than '9'