mirror of
https://github.com/System-End/site.git
synced 2026-04-19 16:28:21 +00:00
Fix lint errs
This commit is contained in:
parent
c98082df5e
commit
ac33f6ad35
2 changed files with 5 additions and 3 deletions
|
|
@ -1,4 +1,4 @@
|
|||
export default async (req, res) => {
|
||||
const steveApiHandler = async (req, res) => {
|
||||
const calendarId =
|
||||
'c_e7c63a427761b0f300ede97f432ba4af24033daad26be86da0551b40b7968f00@group.calendar.google.com'
|
||||
const apiKey = 'AIzaSyD_8dEnTDle3WmaoOTvEW6L1GW540FU_wg' // Replace with your API Key
|
||||
|
|
@ -64,3 +64,5 @@ export default async (req, res) => {
|
|||
return res.status(500).json({ error: 'Failed to fetch busy times.' })
|
||||
}
|
||||
}
|
||||
|
||||
export default steveApiHandler
|
||||
|
|
|
|||
|
|
@ -327,11 +327,11 @@ const StevePage = () => {
|
|||
key={idx}
|
||||
alt=""
|
||||
style={{
|
||||
display: idx == selectedImage ? 'flex' : 'flex',
|
||||
display: idx === selectedImage ? 'flex' : 'flex',
|
||||
cursor: 'pointer',
|
||||
aspectRatio: '1',
|
||||
objectFit: 'cover',
|
||||
opacity: idx != selectedImage ? 0.5 : 1
|
||||
opacity: idx !== selectedImage ? 0.5 : 1
|
||||
}}
|
||||
onClick={() => setSelectedImages(idx)}
|
||||
width={'96px'}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue