Skip to content

Commit

Permalink
Fixed some warnings and ignored the rest in the run command.
Browse files Browse the repository at this point in the history
  • Loading branch information
originalnicodr committed Jul 31, 2023
1 parent d38739b commit 16289d3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
with:
node-version: 15.x
- run: npm install
- run: npm run build
- run: CI=false npm run build
- uses: peaceiris/actions-gh-pages@v3.7.3
with:
publish_dir: build
Expand Down
2 changes: 1 addition & 1 deletion src/api/request.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import axios, * as others from 'axios';
import axios from 'axios';
const IMAGESAPI = 'https://raw.githubusercontent.com/originalnicodrgitbot/hall-of-framed-db/main/shotsdb.json';
const AUTHORSAPI = 'https://raw.githubusercontent.com/originalnicodrgitbot/hall-of-framed-db/main/authorsdb.json';
//const axios = require('axios');
Expand Down
6 changes: 2 additions & 4 deletions src/components/splashScreen.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { useContext, createContext, useEffect, useState, useRef} from 'react';
import React from 'react';

const splashScreenStyle = {
width: '100%',
Expand All @@ -11,6 +11,4 @@ const splashScreenStyle = {
animation: 'splashScreen .3s 1.5s cubic-bezier(.22,.61,.36,1) forwards',
}

export const splashScreen = (
<img src='https://cdn.discordapp.com/attachments/877962007524044810/927287125282529340/Wallpaper-1.png' style={splashScreenStyle}></img>
)
export const splashScreen = <img src='https://cdn.discordapp.com/attachments/877962007524044810/927287125282529340/Wallpaper-1.png' style={splashScreenStyle} alt=''></img>

0 comments on commit 16289d3

Please sign in to comment.