mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-23 18:17:38 +00:00
Remove feature flag
This commit is contained in:
parent
6c20da8f18
commit
7d4029480e
2 changed files with 0 additions and 6 deletions
|
|
@ -2,7 +2,6 @@ import React from "react";
|
|||
import { useSelector } from "react-redux";
|
||||
import { useActionCreator } from "./hooks";
|
||||
import * as Actions from "./redux/actionCreators";
|
||||
import { SHOW_UPLOAD } from "./constants";
|
||||
import UploadIcon from "./components/icons/UploadIcon";
|
||||
import CloseIcon from "./components/icons/CloseIcon";
|
||||
import * as Selectors from "./redux/selectors";
|
||||
|
|
@ -12,10 +11,6 @@ function UploadButton() {
|
|||
const closeUploadFiles = useActionCreator(Actions.closeUploadFiles);
|
||||
const requestedUploadPage = useActionCreator(Actions.requestedUploadPage);
|
||||
|
||||
if (!SHOW_UPLOAD) {
|
||||
// return null;
|
||||
}
|
||||
|
||||
const style = {
|
||||
paddingLeft: "0.2rem",
|
||||
paddingRight: "0.2rem",
|
||||
|
|
|
|||
|
|
@ -9,6 +9,5 @@ export const S3_SCREENSHOT_CDN = "https://s3.amazonaws.com/cdn.webampskins.org";
|
|||
export const SCREENSHOT_CDN = "https://cdn.webampskins.org";
|
||||
export const SKIN_CDN = "https://cdn.webampskins.org";
|
||||
export const API_URL = "https://api.webampskins.org";
|
||||
export const SHOW_UPLOAD = window.location.hash.includes("upload");
|
||||
export const HEADING_HEIGHT = 46;
|
||||
export const CHUNK_SIZE = 300;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue