chore: added unsplash flag for self-hosted (#829)

* chore: added unsplash flag for self hosted

* fix: removed actual code and only using flag

* refactor: removed extra variable
This commit is contained in:
Dakshesh Jain 2023-04-14 16:52:31 +05:30 committed by GitHub
parent 23b4145565
commit 3b103da6a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 16 additions and 5 deletions

View file

@ -41,7 +41,8 @@ const defaultValues: Partial<IProject> = {
description: "",
network: 2,
icon: getRandomEmoji(),
cover_image: null,
cover_image:
"https://images.unsplash.com/photo-1575116464504-9e7652fddcb3?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=MnwyODUyNTV8MHwxfHNlYXJjaHwxOHx8cGxhbmV8ZW58MHx8fHwxNjgxNDY4NTY5&ixlib=rb-4.0.3&q=80&w=1080",
};
const IsGuestCondition: React.FC<{