Skip to content

Commit

Permalink
style: delete some part
Browse files Browse the repository at this point in the history
delete unused code

#139
  • Loading branch information
seo-wo committed Dec 19, 2023
1 parent 3f8132e commit ba4c746
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/components/Rotation/event_utils.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
import getAddress from '@globalObj/function/getAddress';
import { getAuth } from '@cert/AuthStorage';
import apiClient from '@service/apiClient';
import errorAlert from '@globalObj/function/errorAlert';

let eventGuid = 0;
let todayStr = new Date().toISOString().replace(/T.*$/, ''); // YYYY-MM-DD of today

export function createEventId() {
return String(eventGuid++);
Expand All @@ -21,13 +19,6 @@ function rotatedArrAllInfo(data) {
}));
}

// function rotatedArr(data) {
// return data.map((el) => ({
// title: el.intraId,
// start: `${el.year}-${el.month}-${el.day}`,
// }));
// }

// DB 내 전체 로테이션 반환
export async function getRotationArr() {
let rotationArr = [];
Expand Down

0 comments on commit ba4c746

Please sign in to comment.