Skip to content

Commit

Permalink
fix: removing backup folder before uploading
Browse files Browse the repository at this point in the history
  • Loading branch information
thegrannychaseroperation committed Oct 7, 2024
1 parent 9405b0d commit 0f1ed20
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 10 deletions.
3 changes: 0 additions & 3 deletions src/renderer/src/context/repacks/repacks.context.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,18 +41,15 @@ export function RepacksContextProvider({ children }: RepacksContextProps) {
}, []);

const indexRepacks = useCallback(() => {
console.log("INDEXING");
setIsIndexingRepacks(true);
repacksWorker.postMessage("INDEX_REPACKS");

repacksWorker.onmessage = () => {
console.log("INDEXING COMPLETE");
setIsIndexingRepacks(false);
};
}, []);

useEffect(() => {
console.log("CALLED");
indexRepacks();
}, [indexRepacks]);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ export function CloudSyncFilesModal({
}: CloudSyncFilesModalProps) {
const { backupPreview } = useContext(cloudSyncContext);

console.log(backupPreview);

const files = useMemo(() => {
if (!backupPreview) {
return [];
Expand Down
1 change: 0 additions & 1 deletion src/renderer/src/pages/game-details/hero/hero-panel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ export function HeroPanel({ isHeaderStuck }: HeroPanelProps) {
const [latestRepack] = repacks;

if (latestRepack) {
console.log(latestRepack);
const lastUpdate = format(latestRepack.uploadDate!, "dd/MM/yyyy");
const repacksCount = repacks.length;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@ export function EditProfileModal(
const { showSuccessToast, showErrorToast } = useToast();

const onSubmit = async (values: FormValues) => {
console.log(values);

return patchUser(values)
.then(async () => {
await Promise.allSettled([fetchUserDetails(), getUserProfile()]);
Expand Down Expand Up @@ -120,8 +118,6 @@ export function EditProfileModal(
return { imagePath: null };
});

console.log(imagePath);

onChange(imagePath);
}
};
Expand Down

0 comments on commit 0f1ed20

Please sign in to comment.